Create Archive
Agent Filesystem
Create Archive
Create a compressed archive from files in an agent’s workspace.
POST
Create Archive
Documentation Index
Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires JWT token or Platform API key.Agent UUID
List of file or directory paths to include in the archive
Destination path for the archive file
Archive format:
zip, tar, tar.gz, or tar.bz2Compression level (0-9, where 9 is maximum compression)
Example Request
Response
Response Fields
| Field | Type | Description |
|---|---|---|
path | string | Absolute path of the created archive |
size | number | Archive size in bytes |
format | string | Archive format used |
Status Codes
| Code | Description |
|---|---|
201 | Archive created successfully |
400 | Invalid request body or paths |
401 | Invalid authentication |
403 | Access denied |
404 | Agent or source paths not found |

