Skip to main content
GET
/
sandbox
List all sandboxes
curl --request GET \
  --url https://api.klavis.ai/sandbox \
  --header 'Authorization: Bearer <token>'
{
  "sandboxes": [
    {
      "sandbox_id": "<string>",
      "server_name": "<string>",
      "status": "idle",
      "benchmark": "<string>",
      "tags": {},
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total_count": 123
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Query Parameters

tags
string | null

Optional JSON string of tags to filter by (e.g., '{"env": "prod"}')

Response

Successful Response

Response model for listing all sandboxes

sandboxes
SandboxListItem · object[]
required

List of sandboxes

total_count
integer
required

Total number of sandboxes