Set per-agent budgets, clearance, or active state

Override budgets per agent (null clears to inherit the wallet policy), set clearance, revoke/reactivate with { active }, or set seat fields: holder (null clears) and expires_at (null clears the auto-shutoff). Management-plane.

patch/agents

Request

  • Base URL: https://getsanction.com/api/v1
  • URL: https://getsanction.com/api/v1/agents
  • Auth: API key in header x-mgmt-key

Request body

wallet_idstring required
agent_idstring required
daily_token_budget_usdnumber nullable
monthly_token_budget_usdnumber nullable

Optional per-seat monthly token cap (dollars). Null clears (inherit / daily-only).

daily_spend_budget_usdnumber nullable
per_transaction_max_usdnumber nullable
escalate_over_usdnumber nullable
clearanceinteger
activeboolean

false revokes the agent's key; true reactivates it (SEC-6).

Response

Updated agent

idstring
namestring
activeboolean
clearanceinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.