Operator

Events

GET /api/events — the audit trail, polled with the admin token.

GET /api/events

GET/api/eventsBearer adminToken

Recent 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

TypeEmitted when
resource.discoveredreserved in the event vocabulary; the pipeline does not emit it
resource.requesteda call enters the pipeline
authorization.verified / .rejectedan AP2 mandate was checked
payment.requireda challenge was issued
payment.rejecteda 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.verifieda proof passed verification — no money moved yet
payment.settledthe transfer settled
backend.calledthe merchant backend answered
backend.failedthe backend failed or timed out
resource.deliveredthe result went back to the agent