Pull the cut-off switch
Refuses all network traffic of one sandbox, every sandbox of one policy, or the whole project, at once.
Refuses all network traffic of one sandbox, every sandbox of one policy, or the whole project, at once. Only narrows, as stopping a sandbox does, so a project key with permissions:write may. A cut-off a server does not confirm in 5 seconds is passed to Pod's scheduler, which pauses the sandbox. Pulling the same target again while it is in force answers the cut-off in force. A sandbox cut off alone runs a table of its own from then on.
A key with the permissions:write scope.
Request
curl -X POST "https://api.pod.mapier.ai/v1/cut-offs?project=example" \
-H "Authorization: Bearer $POD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target":"sandbox","target_id":"example"}'Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
project | query | string | Yes | The project the call is about. Every route is scoped to one. |
Pod-Organisation | header | string | No | The organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden. |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Body
| Field | Type | Required | What it is |
|---|---|---|---|
project | string | No | Optional; when sent it must be the project of the query. |
target | "sandbox" | "policy" | "project" | Yes | |
target_id | string | Yes |
Answer
201. The cut-off, in force.
{
"id": "example",
"target": "sandbox",
"target_id": "example",
"pulled_at": "2026-11-23T12:00:00.000Z",
"pulled_by": "example",
"state": "waiting",
"confirmed_at": null,
"escalated_at": null,
"paused": ["example"],
"not_paused": [
{
"sandbox": "example",
"reason": "example"
}
]
}| Field | Type | Always | What it is |
|---|---|---|---|
id | string | Yes | |
target | "sandbox" | "policy" | "project" | Yes | |
target_id | string | Yes | The sandbox, the policy or the project. |
pulled_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
pulled_by | string | Yes | Who made a change. An identity account id for a person, or a key id (key_…) for an API key. |
state | "waiting" | "confirmed" | "escalated" | Yes | waiting: servers have not all applied a table carrying the cut-off yet. confirmed: every sandbox's server has. escalated: some had not within 5 seconds, and those sandboxes were passed to Pod's scheduler to pause. |
confirmed_at | string | null | Yes | |
escalated_at | string | null | Yes | |
paused | string[] | Yes | Sandboxes Pod's scheduler paused because their server did not confirm in time. |
not_paused | object[] | Yes | Sandboxes passed to the scheduler that it did not pause, and why. They are asked again. |
Errors
The refusals this call is known for: invalid, unauthorized, forbidden, not_found. 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.