Sandboxes

List sandboxes

List sandboxes you can access in an org, optionally a single project, filtered by scope (mine|shared|all). Org-owners and project-admins may pass all_owners for oversight.

GET
/v1/sandboxes

List sandboxes you can access in an org, optionally a single project, filtered by scope (mine|shared|all). Org-owners and project-admins may pass all_owners for oversight.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Query Parameters

org*string

Organization slug.

project?string

Project slug. Omit for org-wide (across all your projects in the org).

scope?string

Which sandboxes, by your relationship to them.

Default"mine"
Value in"mine" | "shared" | "all"
all_owners?boolean

Admin oversight: include everyone's sandboxes (incl. private). Requires project-admin (with project) or org-owner (org-wide).

owner?string

Admin filter: restrict to this owner (email or user-id). Only valid with all_owners.

older_than?string

Admin filter: only sandboxes created before now minus this duration (e.g. 24h). Only valid with all_owners.

orphaned?boolean

Admin filter: only sandboxes whose owner can no longer manage them. Only valid with all_owners.

include_deleted?boolean

Include soft-deleted sandboxes (state 'deleted'). Off by default.

state?array<string>|

Filter by sandbox state. May be repeated.

cursor?string

Opaque pagination cursor from a previous response

limit?integer

Maximum number of items to return (1–100)

Default20
Formatint32
Range1 <= value <= 100

Response Body

application/json

application/problem+json

curl -X GET "https://api-dev.tektona.ai/v1/sandboxes?org=string"
{  "$schema": "https://api-dev.tektona.ai/schemas/ListSandboxesBody.json",  "effective_role": "none",  "items": [    {      "$schema": "https://api-dev.tektona.ai/schemas/GetSandboxResponse.json",      "access": "read",      "created_at": "string",      "effective_role": "none",      "egress_network_policy": {        "name": "string"      },      "egress_proxy_profile": {        "name": "string"      },      "id": "string",      "image": "string",      "lifecycle": {        "$schema": "https://api-dev.tektona.ai/schemas/LifecycleResponse.json",        "auto_delete_after": "string",        "auto_pause_after": "string",        "auto_pause_mode": "string",        "auto_resume": true,        "configured": {          "auto_delete_after": "string",          "auto_pause_after": "string",          "auto_pause_mode": "string",          "auto_resume": true        },        "source": {          "auto_delete_after": "own",          "auto_pause_after": "own",          "auto_pause_mode": "own",          "auto_resume": "own"        }      },      "location": "string",      "owner": {        "email": "string",        "id": "string",        "name": "string"      },      "project": {        "display_name": "string",        "id": "string",        "name": "string",        "org": "string",        "slug": "string"      },      "public": true,      "resources": {        "cpu": 2,        "disk": 10,        "memory": 2      },      "share_type": "none",      "state": "string"    }  ],  "pagination": {    "has_more": true,    "next_cursor": "string",    "total_count": 0  }}