Evenbead docs

Audit

4 operations. All areas

GET/v1/audit/verify

Verify this company's audit hash chain

  • Operation verifyAudit
  • Scope: read
  • Read
Responses
  • 200 Verdict (AuditVerdict)
  • Errors 400, 401, 403, 429, 500 (Error: error.type, message)

GET/v1/audit/events

Audit events in chain order (or newest first), filtered by actor, agent, model or action

  • Operation listAuditEvents
  • Scope: read
  • Read
Parameters
  • after_seq query, integer
  • before_seq query, integer
  • limit query, integer
  • order query, "asc" | "desc"
  • actor_type query, "user" | "agent" | "system"
  • actor_id query, string
  • model query, string
  • action query, string
Responses
  • 200 Events (object)
  • Errors 400, 401, 403, 429, 500 (Error: error.type, message)

GET/v1/audit/export

Full audit chain export for offline verification (JSON fields as the exact hashed text)

  • Operation exportAudit
  • Scope: read
  • Read
Responses
  • 200 Export (object)
  • Errors 400, 401, 403, 429, 500 (Error: error.type, message)

GET/v1/audit/actors

Everyone who has acted on these books: people, agents (with each model they declared) and the system, with event counts

  • Operation listAuditActors
  • Scope: read
  • Read
Responses
  • 200 Actors (object)
  • Errors 400, 401, 403, 429, 500 (Error: error.type, message)