Freezes and the kill switch
Freeze one credential, an agent, a tree, a team or the org on every rail, with measured stop times.
One call stops an agent from spending, on every rail, at once. A freeze can target one credential, an agent, an agent tree, a team, a funding source or the whole org. Inside ndStill it takes effect immediately; on each connected provider it takes as long as that provider takes, and ndStill measures and shows exactly how long.
Freezing#
curl -X POST https://api.ndstill.com/v2/agents/agt_01JD8Q3W6Z/freeze \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ "reason": "Unexpected purchases from the travel agent" }'POST/agents/{id}/freeze freezes an agent and everything under it. POST/freezes takes any scope. An org-wide freeze needs a passkey step-up and the org's slug typed as confirm_text, so it can't happen by accident. Preview what a freeze would touch first with POST/freezes/preview.
What a freeze does#
- Inside ndStill, at once. The freeze is written and broadcast to every decision instance. From then on the pipeline's freeze stage declines the agent's payments (
agent_frozen,tree_frozen,team_frozen,org_frozen,credential_frozenorfunding_frozen). This is the part ndStill fully controls; the design target is under one second. - On every connected provider. A fan-out runs per connector, in parallel:
- freeze or close cards (ndStill's program and the owner's Stripe Issuing, Lithic or Increase programs)
- lock Ramp, Brex and Mercury cards
- revoke checkout tokens and network agent tokens
- revoke wallet permissions
- deactivate AI provider keys (pause where the provider allows, delete where it doesn't)
- cancel bank payment orders that haven't gone out
- revoke the agent's ndStill keys and OAuth grants
- Evidence. The freeze, who asked, why, and each provider's confirmation are signed into the record.
- Passed
- Held here
- Declined here
- Not on this rail
- Not reached
Progress and stop time#
A freeze returns at once with status: "in_progress" and one step per connector. Each step records when it started and when the provider confirmed; the difference is that connector's measured stop time.
{
"id": "frz_01JD…",
"object": "freeze",
"scope": { "kind": "tree", "id": "agt_01JD8Q3W6Z", "name": "Travel desk" },
"action": "freeze",
"status": "in_progress",
"enforced_in_ndstill_at": "2026-11-03T14:02:11.204Z",
"agents_affected": 3,
"steps": [
{ "connection": { "id": "con_01JA…", "name": "ndStill cards" }, "provider": "ndstill_issuing", "action": "Freeze 4 cards", "done_label": "frozen", "reversible": true, "status": "done", "started_at": "2026-11-03T14:02:11.210Z", "confirmed_at": "2026-11-03T14:02:11.850Z", "ms": 640 },
{ "connection": { "id": "con_01JB…", "name": "Ramp" }, "provider": "ramp", "action": "Lock Ramp cards", "done_label": "locked", "reversible": true, "status": "in_progress", "started_at": "2026-11-03T14:02:11.212Z", "confirmed_at": null, "ms": null },
{ "connection": { "id": "con_01JC…", "name": "OpenAI" }, "provider": "openai", "action": "Pause API key", "done_label": "key paused", "reversible": true, "status": "pending", "started_at": null, "confirmed_at": null, "ms": null }
]
}Over time those measurements become each connection's published stop time ("Stops in 0.8 s, p90, measured"), shown wherever the connection appears. A freeze ends done, or partial when a provider couldn't confirm, in which case the console says which one and what to do. See Control levels and stop time.
Unfreezing#
POST/agents/{id}/unfreeze and POST/freezes/{id}/unfreeze reverse what can be reversed: cards are unlocked, keys re-enabled where the provider paused them. What was deleted or revoked for good (a revoked token, a deleted provider key) is re-issued on the next approved payment instead. An unfreeze is written to evidence like a freeze; it's never silent.
Who can freeze#
Owners and admins can freeze anything; approvers can freeze agents in their teams; the agents:freeze OAuth scope lets a person's own MCP client call freeze_agent. Agents can never freeze or unfreeze themselves. Freezes fire the agent.frozen and agent.unfrozen webhooks; risk rules can also freeze an agent automatically on strong stolen-key signals.