Create mandate version
curl -X POST "https://api.52-28-238-205.sslip.io/v1/mandates/{id}/versions" \ -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 new draft version from edits to the latest version; the active version stays in force until the draft is signed. Console session or API key with mandate:edit.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredMandate id (mdt_...).
Body
application/json · required. Fields are listed under Request body below.
owner, admin, finance, operator. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdMandate id (mdt_...).
application/json- body
name?string|nullscope?|nulllimits?|nullallowed?|nullchain_priority?array<unknown>|nullexpires_at?|Expiry time, ISO 8601 UTC.
notes?string|nullapprovers?array<string>|nullSuccess.
application/json- response
mandate*One mandate version. The agent-facing GET returns only id, version, status, limits, allowed, expires_at.
[key: string]?anyGETGet mandate
Returns a mandate with all its versions and the agents it governs. Console session or API key with payment:read; an agent credential may read only its own mandate, redacted to status, limits, allowed values and expiry.
GETGet mandate version
Returns one version with its canonical payload, hash and SD-JWT form. Console session or API key with payment:read.