Agents
GET/v1/agents/{id}
Get agent
curl -X GET "https://api.52-28-238-205.sslip.io/v1/agents/{id}" \ -H "Cookie: <console session cookie>"Returns one agent with its budget, mandate, credentials, cards, wallets, plans and runtime. Console session or API key with payment:read.
Server URL
https://api.52-28-238-205.sslip.ioGET/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_...).
Requires permissionpayment:read
Held by
owner, admin, finance, approver (own team), developer, merchant_owner, merchant_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_...).
Success.
application/json- response
agent*budget?|nullmandate?|nullcredentials*array<>cards*wallets*plans*model?|nullruntime?|null[key: string]?anyPOSTCreate agent
Creates an agent with its budget and first credential, and returns configuration snippets. Console session or API key with agent:create; the credential secret is shown once.
PATCHUpdate agent
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).