Developers › API reference

Records API

The hash-chained event log and the AI interaction log.

Objects

  • Event: one action of anyone in any component, append-only and hash-chained: each event's hash covers the previous event's hash and the row. GET /events/verify recomputes the chain (ok, or first_bad_id).
  • AI interaction: the metadata of every AI call (purpose, model, latency, tokens, user, client). Inputs and outputs are only on the AI log page.

Typical use

Export the event log to your archive nightly: page through GET /events?from=…&to=…&sort=id and store each page; verify the chain with GET /events/verify.

Endpoints

CallWhat it doesScope
GET/eventsThe hash-chained event logevents:read
GET/events/verifyVerify the firm's hash chainevents:read
GET/ai-logAI interactions (metadata; inputs and outputs are on the AI log page)ai_log:read