List sandboxes
A key lists its own project's sandboxes.
GET/v1/sandboxes
A key lists its own project's sandboxes. A signed-in person sees every project of the organization, so the dashboard names one with project; a project the caller may not see answers forbidden.
A key with the sandboxes:read scope.
Request
curl "https://api.pod.mapier.ai/v1/sandboxes" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
Pod-End-User | header | string | No | Narrows a project key to one of its end users: the call sees only that end user's sandboxes and usage, any other answering not_found, and a create is labelled with it. An end user of another project, or one that is not there, is not_found; a suspended one refuses creates and wakes (account_restricted). |
project | query | string | No | Only this project's sandboxes. |
state | query | "creating" | "running" | "stopping" | "sleeping" | "waking" | "stopped" | "deleting" | "deleted" | "error" | No | Only sandboxes in this state. |
label | query | string[] | No | Only sandboxes with every key=value label given. |
template | query | string | No | Only sandboxes made from this template. |
end_user | query | string | No | Only sandboxes labelled with this end user. |
limit | query | integer | No | |
cursor | query | string | No | The next_cursor of the page before. Valid for 24 hours. |
Answer
200. A page of sandboxes, newest first.
{
"data": [
{
"id": "sbx_3ahrz6dmv29gqy5ckt18fpx4b",
"project": "prj_3ahrz6dmv29gqy5ckt18fp",
"state": "running",
"tier": null,
"operation": null,
"reason": null,
"restarted": false,
"system": "linux",
"size": "small",
"class": "shared",
"disk": "persistent",
"template": null,
"parent": null,
"created_at": "2026-11-23T12:00:00.000Z",
"state_at": "2026-11-23T12:00:00.000Z",
"time_limit_at": null,
"idle_s": 900,
"flags": {
"no_save": false,
"billing_mark": null
},
"labels": {
"app": "quickstart"
},
"queue_position": null,
"end_user": null,
"group": null
}
],
"next_cursor": null
}| Field | Type | Always | What it is |
|---|---|---|---|
data | Sandbox[] | Yes | |
next_cursor | string | null | Yes |
Errors
The refusals this call is known for: invalid, forbidden, in_other_cell. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | pod.sandboxes.list({ … }) |
| Python | pod.sandboxes.list(…) |
| mpod | mpod sandboxes list |