Every meaningful action in Mandate — creating an agent, evaluating a policy, verifying a payment, revoking a mandate — produces an immutable audit log event. The log is append-only: events are never updated or deleted. Use it to reconstruct exactly what happened, when, and by whom, whether you are debugging a failed payment or fulfilling a compliance requirement.Documentation Index
Fetch the complete documentation index at: https://docs.usemandate.io/llms.txt
Use this file to discover all available pages before exploring further.
List audit log events
created_at descending. Filter by event type, resource type, or specific resource ID to narrow results. Up to 200 events are returned per request.
The audit log is append-only. Events cannot be modified or deleted. This guarantee is enforced at the database level — there is no API operation to alter historical records.
Filter to events of a specific type, e.g.
"mandate.created" or "transaction.paid". See the event types table below for all values.Filter to events affecting a specific resource type. One of:
agent, mandate, transaction, api_key, policy_decision.Filter to events affecting a specific resource, e.g.
"mandate_xyz789". Combine with resource_type for precise lookups.Maximum number of events to return. Minimum
1, maximum 200.200
Array of audit log event objects, ordered by
created_at descending.Example response
Event types
| Event type | Actor | Description |
|---|---|---|
agent.created | developer | A new agent was registered. |
agent.revoked | developer | An agent was permanently revoked. |
mandate.created | developer | A new mandate was created. |
mandate.revoked | developer | A mandate was revoked. |
api_key.created | developer / system | An API key was created (including on account registration). |
api_key.revoked | developer | An API key was revoked. |
policy.evaluated | system | The policy engine evaluated a payment request and recorded a decision. |
verification.completed | system | A /v1/verify-agent check completed successfully. |
transaction.paid | agent | A payment proof was verified and the mandate was charged. |
Common audit patterns
Reconstruct all events for a mandatemetadata.agent_id in the results, or use GET /v1/transactions?agent_id=agent_abc123&status=paid for a direct transaction query.
Review all API key activity

