Rensei docs

List tamper-evident audit events

Returns hash-chain audit events for the authenticated org. Events include a `prevHash` / `entryHash` linkage for integrity verification. Accepts optional filters by `entityId` and/or `entityType`.

GET
/api/audit

Authorization

AuthorizationBearer <token>

Rensei API key. Format: rsk_live_<random>. Generated in Settings or via POST /api/org/{orgId}/keys. Used by CLI (af), daemon, and programmatic integrations.

In: header

Query Parameters

limit?integer
Default50
Range1 <= value <= 200
offset?integer
Default0
Range0 <= value
entityId?string
entityType?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/audit"
{
  "events": [
    {
      "id": "string",
      "workspaceId": "string",
      "sequenceNumber": 0,
      "eventType": "string",
      "actorId": "string",
      "actorType": "string",
      "entityType": "string",
      "entityId": "string",
      "payload": {},
      "prevHash": "string",
      "entryHash": "string",
      "occurredAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": "Session not found"
}