← All tools
Extract archive
Archivearchive.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 modality | Archive file (URL) |
| Output modality | Extracted files (GCS directory URL) |
| Supported formats | zip, tar.gz, rar |
| Max archive size | 10 GB |
| Max extracted size | 50 GB |
Parameters
| Param | Required | Description |
|---|---|---|
format | yes | Archive 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"
}