Upload a compressed archive to a sandbox and extract it. Requires authentication. Use for Agentuity cloud platform operations
Upload a compressed archive to a sandbox and extract it
agentuity auth login--org-id or default org)agentuity cloud sandbox upload <sandboxId> <archive> [options]
| Argument | Type | Required | Description |
|---|---|---|---|
<sandboxId> | string | Yes | - |
<archive> | string | Yes |
| - |
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--path | string | Yes | - | Destination path in sandbox (defaults to root) |
--format | string | Yes | - | Archive format (auto-detected if not specified) |
Upload and extract a tar.gz archive to sandbox root:
bunx @agentuity/cli cloud sandbox upload sbx_abc123 ./archive.tar.gz
Upload and extract a zip archive to a specific directory:
bunx @agentuity/cli cloud sandbox upload sbx_abc123 ./archive.zip --path /subdir
Upload with explicit format specification:
bunx @agentuity/cli cloud sandbox upload sbx_abc123 ./archive.bin --format tar.gz
Returns JSON object:
{
"success": "boolean",
"bytes": "number"
}
| Field | Type | Description |
|---|---|---|
success | boolean | - |
bytes | number | - |