API

Audit API

GET /requests/:id/audit/export

Export the immutable audit chain for a request.

Query parameters:

  • format (string, optional): "jsonl" | "csv"

Response (202):

POST /requests/:id/audit/verify

Verify the integrity of an audit chain.

Request body:

  • hash (string, required): expected hash for the target event or chain check
  • prevHash (string, optional): previous-link hash when verifying chain continuity
  • sequence (number, required): expected event sequence number

Response (202):