cURL
curl --request GET \ --url https://api.klavis.ai/sandbox/local_dev/{sandbox_id}/dump \ --header 'Authorization: Bearer <token>'
{ "download_url": "<string>", "expires_in_minutes": 123 }
Packages the workspace as tar.gz, uploads it to GCS from the pod, and returns a short-lived signed download URL. This avoids WebSocket timeouts for large workspaces.
Your Klavis AI API key.
The unique sandbox identifier
Successful Response
Response for the dump endpoint — returns a signed download URL.
Signed GCS URL to GET the tar.gz archive from
Minutes until the download URL expires