Sign mandate version
curl -X POST "https://api.52-28-238-205.sslip.io/v1/mandates/{id}/versions/{version}/sign" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"challenge_id":"cha_01jd2x3k4m5n6p7q8r9s0t1v2w","credential":{}}'Verifies the passkey assertion over the version hash, activates the version, supersedes the previous one and applies its per-agent budget. Console session with mandate:sign; only a draft can be signed (409).
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>
Path
idstringrequiredMandate id (mdt_...).
versionstringrequiredDraft version number.
Body
application/json · required. Fields are listed under Request body below.
sessionuapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdMandate id (mdt_...).
version*VersionDraft version number.
application/json- body
challenge_id*Challenge IdId of the passkey challenge returned by the matching options call.
credential*The passkey assertion (WebAuthn) produced for the challenge.
Success.
application/json- response
mandate*One mandate version. The agent-facing GET returns only id, version, status, limits, allowed, expires_at.
superseded_version?integer|null[key: string]?anyPOSTGet mandate signing options
Returns WebAuthn request options whose challenge is the draft version's hash. Console session with mandate:sign; only a draft can be signed (409).
POSTRevoke mandate
Revokes the active version, denies pending payments of the agents it governs and adds a signed revocation receipt. Console session or API key with mandate:sign; a console session needs a passkey step-up within the last 5 minutes. Cannot be undone.