Agents
PATCH/v1/agents/{id}
Update agent
curl -X PATCH "https://api.52-28-238-205.sslip.io/v1/agents/{id}" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"name":"Example","team_id":"team_01jd2x3k4m5n6p7q8r9s0t1v2w","mandate_id":"mdt_01jd2x3k4m5n6p7q8r9s0t1v2w","rails":["x402"],"kind":"string","budget_alert":true}'Renames an agent or changes its team, mandate, rails, kind or budget alert. Console session or API key with agent:create; a revoked agent can't be changed (409).
Server URL
https://api.52-28-238-205.sslip.ioPATCH/v1/agents/{id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredAgent id (agt_...).
Body
application/json · required. Fields are listed under Request body below.
Requires permissionagent:create
Held by
owner, admin, developer, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdAgent id (agt_...).
application/json- body
name?string|nullteam_id?|Team id (team_...).
mandate_id?|Mandate id (mdt_...).
rails?array<string>|nullkind?string|nullbudget_alert?boolean|nullSuccess.
application/json- response
agent*[key: string]?anyGETGet agent
Returns one agent with its budget, mandate, credentials, cards, wallets, plans and runtime. Console session or API key with payment:read.
POSTFreeze agent
Freezes an active agent so its payments are denied until it is unfrozen, with an optional reason. Console session or API key with agent:revoke; only an active agent can be frozen (409).