Skip to main content
GET
/
api
/
v1
/
sandbox
List Sandboxes
curl --request GET \
  --url https://api.primeintellect.ai/api/v1/sandbox \
  --header 'Authorization: Bearer <token>'
{
  "sandboxes": [
    {
      "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>"
    }
  ],
  "total": 123,
  "page": 123,
  "per_page": 123,
  "has_next": true
}

Rate Limit

1000 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.

Query Parameters

team_id
string | null

Filter by team ID

status
enum<string> | null

Filter by status

Available options:
PENDING,
PROVISIONING,
RUNNING,
STOPPED,
ERROR,
TERMINATED
is_active
boolean | null

Filter to exclude terminated sandboxes when True

page
integer
default:1

Page number

Required range: x >= 1
per_page
integer
default:50

Items per page

Required range: 1 <= x <= 100

Response

Successful Response

sandboxes
SandboxResponse · object[]
required
total
integer
required
page
integer
required
per_page
integer
required
has_next
boolean
required
I