API ReferenceMandates
Create mandate
Create a draft mandate from structured constraints
Authorization
admin AuthorizationBearer <token>
AGENTGUARD_ADMIN_TOKEN (owner/operator)
In: header
Request Body
application/json
user_id*string
agent_id*string
purpose*string
ttl_minutes?integer
constraints?
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/mandates" \ -H "Content-Type: application/json" \ -d '{ "user_id": "string", "agent_id": "string", "purpose": "string" }'{}