cURL
curl --request POST \ --url https://api.klavis.ai/local-sandbox/{local_sandbox_id}/initialize \ --header 'Authorization: Bearer <token>'
{ "sandbox_id": "<string>", "status": "idle", "message": "<string>" }
Extracts the uploaded tar.gz archive into the sandbox workspace. This must be called after successfully uploading the file using the URL from /upload-url.
tar.gz
/upload-url
Your Klavis AI API key.
The local sandbox identifier
Successful Response
Response model for sandbox initialization
Sandbox identifier
Current status
idle
occupied
error
Initialization result message