View as Markdown

Mandate · Guide

Pause all agents

Use this when something is wrong and you don't yet know which agent: a refund going to an unknown payee, a leaked key, a run you can't explain. One pause stops every agent on the account at once; Resume all undoes it. To stop one agent, suspend it instead (POST /v1/mandate/agents/{id}/suspend), and to stop one team, halt its run.

Before you begin: you're an owner or admin, signed in to the console. If you have two-factor sign-in, you confirm with your passkey or authenticator code. Pausing is free on every plan.

1. Pause

On Overview, under Incident controls, choose Pause all agents, or search for "pause all agents" (⌘K). The confirm names the workspace and what happens:

While pausedWhat the agent sees
A new intent (POST /v1/mandate/intents)403 agents_paused; no token is issued
A decision on a token issued before the pausevalid: false with the reason agents_paused
A call check (POST /v1/mandate/calls)Refused with the reason agents_paused
A trace assessment or POST /v1/trace/checkdeny or block with the reason agents_paused
A traced chat completionNo generation: content: null, finish_reason: "agents_paused"
A signed reading, a new trace job or an eval run403 agents_paused

Pause all stops Trace too. To stop only Trace and keep payments running, pause Trace instead.

Tick Also halt active runs to halt every run too: their grants are revoked and their sessions locked, exactly as Halt run does, and resuming doesn't restart them. Add a reason if you like; it shows in the banner and the audit log.

A red banner then runs across every console page for everyone on the account: since when, who paused and why. Owners and admins see Resume all in it.

The pause is POST /v1/mandate/agents/pause_all from a console session. API keys can't pause or resume, so a key someone else holds can't undo your pause.

2. Check from an agent

An agent can read the pause before it starts work:

export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5

curl -s $PROVENANCE_API/v1/mandate/settings/agent_pause \
  -H "Authorization: Bearer $PROVENANCE_KEY"
{
  "object": "agent_pause",
  "paused": false,
  "paused_at": null,
  "runs_halted": 0
}

While paused, paused is true and the answer also says when, who paused and why. An agent that treats agents_paused like any other denial needs nothing more: every authorize and decision answers it.

3. Resume

Choose Resume all in the banner or on Overview (POST /v1/mandate/agents/resume_all), with the same confirm. Agents can be authorized again at once. Runs halted with the pause stay halted, and agents you suspended one by one stay suspended.

4. Follow it

WhereWhat you get
Webhooksmandate.agent_pause.started (with the reason and how many runs were halted) and mandate.agent_pause.ended
Audit logagents_paused and agents_resumed in GET /v1/org/security_events, with who did it

Errors you might see

CodeWhat to do
agents_pausedAn owner or admin paused every agent. Wait for Resume all.
recent_two_factor_requiredConfirm with your passkey or code; the console asks inline.
insufficient_roleAsk an owner or admin. Developers and analysts can't pause or resume.
dashboard_session_requiredPause and resume from a signed-in console session, not an API key.

See also