Skills/Archive/Extract files

Extract files

~2 credits / megabyte (up to 250)

Extracts every file from a zip or 7z archive and returns a separate download URL for each extracted file. The archive format is detected automatically. Note that extraction is billed on the uncompressed total, which can be significantly larger than the compressed size, so consider listing the archive first for large or unknown inputs.

Use when

You want the actual files out of an archive.

Not for

Just seeing what is inside (listing is cheaper), or password-protected archives.

Cost

~2 credits / megabyte (up to 250)

Priced at 0.5 credits per MB of the extracted contents, which can exceed the compressed size.

Estimated; the actual charge depends on your input and is shown in the response.

What it accepts

Set these inside the intent when you run it.

archiverequired

The zip or 7z archive to extract.

What you get back

A download URL for each extracted file from the archive.

Run it

Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Archive skill will route from your intent instead.)

curl -X POST "https://skill.askfaro.com/skills/archive/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"operation":"unzip","archive":"archive.zip"}}'

Example requests

  • Extract all files from this zip
  • Unzip this archive and give me the files
  • Open this 7z archive and extract everything inside