Skills/Archive/Create a zip

Create a zip

~1 credits / megabyte (up to 100)

Takes a set of files and packs them into a single downloadable zip archive. You can optionally name the member files inside the archive and set how long the download link remains valid. Priced at 0.5 credits per MB of the input files.

Use when

You want to bundle several files into a single download.

Not for

Creating a 7z archive, or any format other than zip.

Cost

~1 credits / megabyte (up to 100)

Priced at 0.5 credits per MB of the files packed; a large bundle costs more.

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.

filesrequired

The files to pack into the zip archive.

output_nameoptional

A name for the resulting zip file.

What you get back

A download URL for the resulting zip 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":"zip","files":"report.pdf, data.csv, summary.docx","output_name":"reports.zip"}}'

Example requests

  • Bundle these three files into a zip called reports.zip
  • Create a zip archive from these documents
  • Package my CSV exports into a single archive