cURL
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, "networkAccess": true, "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>", "labels": [ "<string>" ] }
Get a specific sandbox by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
PENDING
PROVISIONING
RUNNING
STOPPED
ERROR
TERMINATED