Agents
GET/v1/agents/{id}/revoke-preview

Preview agent revocation

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/agents/{id}/revoke-preview" \  -H "Cookie: <console session cookie>"

Lists what revoking the agent would do: credentials, open approvals, pending payments, cards, plans, spending wallet balances and payments already in flight. Console session or API key with agent:revoke; changes nothing.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/agents/{id}/revoke-previewBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • idstringrequired

    Agent id (agt_...).

Requires permissionagent:revoke
Held by owner, admin, approver (own team). The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

id*Id

Agent id (agt_...).

Response Body

Success.

application/json
  1. response
agent*
effects*
[key: string]?any