Loading...
Loading...
Controlled-pilot quick start
The shortest accurate path through MNNR is actor → policy → mandate → decision evidence. Payment execution stays with your existing infrastructure.
Access boundary
These endpoints require an approved Clerk session or a scoped machine bearer key. Never expose an API key in client-side code, logs, screenshots, or public repositories.
MNNR is in beta. Approved design partners receive a tenant, dashboard access, and a scoped API key rather than entering a public self-service flow.
Request design-partner accessCreate the AI agent whose requests will be evaluated. The returned agent ID becomes the actor reference used by policies and mandates.
curl https://mnnr.app/api/agents \
-H "Authorization: Bearer $MNNR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "procurement-agent",
"type": "ai_agent",
"metadata": { "principal": "example-corp" }
}'Define the transaction rules first, then bind an active policy to the actor through a scoped, expiring mandate.
curl https://mnnr.app/api/v1/governance/policies \
-H "Authorization: Bearer $MNNR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "travel-procurement",
"rules": {
"actions": ["purchase"],
"currencies": ["EUR"],
"amountCeiling": "500.00",
"reviewAbove": "250.00"
}
}'
# Use the returned agent and policy IDs to create a mandate:
curl https://mnnr.app/api/v1/governance/mandates \
-H "Authorization: Bearer $MNNR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agentId": "<agent-uuid>",
"policyId": "<policy-uuid>",
"scope": ["purchase"],
"amountCeiling": "500.00",
"currency": "EUR",
"expiresAt": "2026-12-31T23:59:59Z"
}'Send the proposed transaction to the authority layer. MNNR returns a policy decision and durable evidence; it does not execute or custody the payment.
curl https://mnnr.app/api/v1/governance/evaluate \
-H "Authorization: Bearer $MNNR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agentId": "<agent-uuid>",
"mandateId": "<mandate-uuid>",
"amount": "49.99",
"currency": "EUR",
"merchant": "approved-travel-vendor",
"action": "purchase",
"idempotencyKey": "travel-2026-0001"
}'