cURL
curl --request GET \ --url https://api.klavis.ai/local-sandbox/{local_sandbox_id}/dump \ --header 'Authorization: Bearer <token>'
{ "download_url": "<string>", "expires_in_minutes": 123 }
Creates a tar.gz archive of the current workspace and provides a temporary download URL. Useful for saving your work or exporting the sandbox state.
tar.gz
Your Klavis AI API key.
The local 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