Operator
Events
GET /api/events — the audit trail, polled with the admin token.
GET /api/events
GET
/api/eventsBearer adminTokenRecent events, polled. Same authentication and limit as receipts. There is no streaming route; dashboards poll this one. Since 2.5.0, events emitted after the gateway resolves the resource carry the call's transactionId, including free calls and 402 challenges, which have no journal entry.
curl -s "http://localhost:8080/api/events?limit=50" \
-H "Authorization: Bearer $ADMIN_TOKEN"Event types
| Type | Emitted when |
|---|---|
resource.discovered | reserved in the event vocabulary; the pipeline does not emit it |
resource.requested | a call enters the pipeline |
authorization.verified / .rejected | an AP2 mandate was checked |
payment.required | a challenge was issued |
payment.rejected | a payment was refused at verification, replay reservation or settlement, or released after a backend failure under authorization; data.reason says why, and is settlement-uncertain when settlement ended with no verdict |
payment.verified | a proof passed verification — no money moved yet |
payment.settled | the transfer settled |
backend.called | the merchant backend answered |
backend.failed | the backend failed or timed out |
resource.delivered | the result went back to the agent |