Create agent
curl -X POST "https://api.52-28-238-205.sslip.io/v1/agents" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"name":"Example"}'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.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
owner, admin, developer, operator. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
name*Nameteam_id?|Team id (team_...).
mandate_id?|Mandate id (mdt_...).
kind?Kind"cloud"rails?array<string>|nullbudget_base_units?|Budget in integer base units, carried as a string.
2000000Success.
application/json- response
agent*credential*The passkey assertion (WebAuthn) produced for the challenge.
secret*SecretSecret shown once. Store it; Abazi keeps only a hash.
snippets*[key: string]?anyGETList agents
Lists the organization's agents with status, team, mandate, budget, last activity, runtime and wallets. Console session or API key with payment:read; team-scoped roles see their team only.
GETGet agent
Returns one agent with its budget, mandate, credentials, cards, wallets, plans and runtime. Console session or API key with payment:read.