Skip to main content
GET
/
api
/
v1
/
sandbox
/
{sandbox_id}
Get Sandbox Endpoint
curl --request GET \
  --url https://api.primeintellect.ai/api/v1/sandbox/{sandbox_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "dockerImage": "<string>",
  "startCommand": "<string>",
  "cpuCores": 123,
  "memoryGB": 123,
  "diskSizeGB": 123,
  "diskMountPath": "<string>",
  "gpuCount": 123,
  "status": "PENDING",
  "timeoutMinutes": 123,
  "environmentVars": {},
  "advancedConfigs": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "terminatedAt": "2023-11-07T05:31:56Z",
  "exitCode": 123,
  "userId": "<string>",
  "teamId": "<string>",
  "kubernetesJobId": "<string>"
}

Rate Limit

2000 requests per 60 seconds per IP and token.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sandbox_id
string
required

Response

Successful Response

id
string
required
name
string
required
dockerImage
string
required
startCommand
string | null
required
cpuCores
integer
required
memoryGB
integer
required
diskSizeGB
integer
required
diskMountPath
string
required
gpuCount
integer
required
status
enum<string>
required
Available options:
PENDING,
PROVISIONING,
RUNNING,
STOPPED,
ERROR,
TERMINATED
timeoutMinutes
integer
required
environmentVars
object | null
required
advancedConfigs
object | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
startedAt
string<date-time> | null
required
terminatedAt
string<date-time> | null
required
exitCode
integer | null
required
userId
string | null
required
teamId
string | null
required
kubernetesJobId
string | null
required
I