API ReferenceDemo
The demo user's mandates
Every mandate the demo user has signed, with its rules and status (active, paused or revoked).
Response Body
application/json
curl -X GET "https://example.com/api/mandates"[ { "id": "string", "userId": "string", "status": "active", "rawText": "string", "createdAt": "2019-08-24T14:15:22Z", "policy": { "categories": [ "string" ], "currency": "string", "maxItemMinor": 0, "budget": { "amountMinor": 0, "period": "week" }, "sellers": { "verifiedOnly": true, "blocked": [ "string" ] }, "overLimit": "ask", "maxPremiumPct": 0, "marketUnavailable": "ask", "expires": "2019-08-24" } }]Server status and which services are live or simulated GET
Which integrations this server is running with: real PayPal sandbox or simulated payments, the model behind the agent, where data is stored, and whether Zapier alerts and the kill switch are on. Always sandbox-only.
Sign spending rules POST
With only `text`, the rules reader (the configured model, or the offline reader) turns the sentence into a policy and Mandate signs it. With `policy`, the rules the user reviewed are validated and signed. Rate limited when the model is called.