List audit history (newest first, paginated, filterable) for the resolved application.
GET
Secret API key operationId: list/v1/audit-logs Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Query parameters
typestring optionalExact type (`session.revoked`) or a dotted family by prefix (`session` → all `session.*`).
actor_kindstring optionalActor kind: `user | api_key | system | public`.
aggregate_idstring<uuid> optionalRestrict to events touching one aggregate (a user/session/org id).
searchstring optionalFree-text match on the event type.
afterstring<date-time> optionalInclusive lower/upper bounds on when the event occurred (RFC 3339).
beforestring<date-time> optionallimitinteger<int64> optionalPage size (default 50, max 100).
offsetinteger<int64> optionalRow offset (default 0).
Responses
200 Audit history
{
"data": {
"limit": 0,
"logs": [
{
"actor": null,
"aggregate_id": null,
"entry_hash": null,
"event_id": null,
"id": null,
"occurred_at": null,
"payload": null,
"prev_hash": null,
"recorded_at": null,
"type": null,
"version": null
}
],
"offset": 0,
"total": 0
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
}Request
curl -X GET "http://localhost:8080/v1/audit-logs" \Try it
live requestGET
http://localhost:8080/v1/audit-logs