Agents
POST/v1/agents

Create agent

View as .md
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.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/agentsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
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.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
name*Name
team_id?|

Team id (team_...).

mandate_id?|

Mandate id (mdt_...).

kind?Kind
Default"cloud"
rails?array<string>|null
budget_base_units?|

Budget in integer base units, carried as a string.

Default2000000

Response Body

Success.

application/json
  1. response
agent*
credential*

The passkey assertion (WebAuthn) produced for the challenge.

secret*Secret

Secret shown once. Store it; Abazi keeps only a hash.

snippets*
[key: string]?any