Infery.ai
← All tools

Extract archive

Archive

archive.unpack

in: archiveout: any

Unpack zip, tar.gz, or rar.

Pricing

Price
0.125 cr / request

Prices in credits (1 credit = $0.01).

Extract Archive

Unpack a zip, tar.gz, or rar archive stored in GCS into individual files.

When to use

  • Unzip user uploads before processing individual files in a pipeline.
  • Extract assets from a downloaded archive for further transformation.
  • Decompress tar.gz artefacts from CI/CD or build systems.

Inputs & outputs

Input modalityArchive file (URL)
Output modalityExtracted files (GCS directory URL)
Supported formatszip, tar.gz, rar
Max archive size10 GB
Max extracted size50 GB

Parameters

ParamRequiredDescription
formatyesArchive format — zip, tar.gz, or rar

Examples

Unzip a user-uploaded bundle

{
  "type": "archive.unpack",
  "input": { "archive_url": "gs://infery-prod-media/uploads/bundle.zip" },
  "params": { "format": "zip" }
}

Extract a tar.gz release archive

{
  "type": "archive.unpack",
  "input": { "archive_url": "gs://infery-prod-media/releases/v1.0.tar.gz" },
  "params": { "format": "tar.gz" }
}

Pricing

Billed per GB of extracted output. See pricing dashboard for current rates.

Related capabilities

  • archive.pack — create a new archive from files

Examples

Unzip

{
  "format": "zip"
}