Skip to main content
POST
/
local-sandbox
/
{local_sandbox_id}
/
upload-url
Get URL to upload your data
curl --request POST \
  --url https://api.klavis.ai/local-sandbox/{local_sandbox_id}/upload-url \
  --header 'Authorization: Bearer <token>'
{
  "upload_url": "<string>",
  "expires_in_minutes": 123
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

local_sandbox_id
string
required

The local sandbox identifier

Response

Successful Response

Response for the upload URL endpoint.

upload_url
string
required

Signed GCS URL to PUT the tar.gz archive to

expires_in_minutes
integer
required

Minutes until the upload URL expires