Mandates
POST/v1/mandates

Create mandate

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/mandates" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"name":"Example","scope":{},"limits":{},"allowed":{},"chain_priority":["string"],"expires_at":"2026-11-16T12:00:00Z","notes":"string","approvers":["string"]}'

Creates a mandate as draft version 1; it takes effect only after it is signed with a passkey. Console session or API key with mandate:edit; the hard cap can't exceed the covered agents' budget.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/mandatesBase 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 permissionmandate:edit
Held by owner, admin, finance, 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?string|null
scope?|null
limits?|null
allowed?|null
chain_priority?array<unknown>|null
expires_at?|

Expiry time, ISO 8601 UTC.

notes?string|null
approvers?array<string>|null

Response Body

Success.

application/json
  1. response
mandate*

One mandate version. The agent-facing GET returns only id, version, status, limits, allowed, expires_at.

[key: string]?any