Skip to main content

GET /audit-source/:id/narrations

Plain-English forensic prose, one entry per audit-log row, generated by the narrator daemon when a BYOK credential is configured on the agent.

Method GET Path /api/zeq/audit-source/:id/narrations Auth none Group Audit Source

Response

{
"ok": true,
"count": 50,
"narrations": [
{
"id": "<uuid>",
"audit_transition_id": "<uuid>",
"proof_digest": "...",
"narration_type": "summary",
"text": "At zeqond 2288223456, the http_webhook adapter for ...",
"llm_provider": "openai",
"llm_model": "gpt-4o-mini",
"tokens_in": 412,
"tokens_out": 87,
"created_at": "..."
}
]
}

Reference

  • Schema: app/lib/db/src/schema/source-narrations.ts
  • Narrator daemon: apps/zeq-audit-daemon/src/narrator.ts (Phase D)