{
  "$schema": "runback.audit/v1",
  "manifest": {
    "run_id": "01KVJ3HQFRR2AC90P9SK08M680",
    "generated_at": "2026-06-20T13:12:03.015Z",
    "event_count": 3,
    "algorithm": "sha256-chain",
    "content_digest": "5548f2deab40b6d13bb3b2d479b4e1e0ccc2b9122ce117c70b500f5829e9568b",
    "signed": true,
    "signature": {
      "alg": "HMAC-SHA256",
      "value": "03c33b4bc56b0d26afcf740e3fa92eafb34e5eb4c2432a1eaf4cadb1a934444a"
    },
    "verify": "Recompute h_i = SHA-256(h_{i-1} + canonical(event_i)) over `events` (strip _hash, sort keys). The final hash must equal manifest.content_digest, and each event._hash must match its step. POST this record to /api/audit/verify to check automatically."
  },
  "run": {
    "run_id": "01KVJ3HQFRR2AC90P9SK08M680",
    "name": "redaction-e2e",
    "status": "success",
    "input": "test",
    "output": "done",
    "error": null,
    "metadata": {},
    "step_count": 1,
    "total_tokens": 15,
    "started_at": "2026-06-20T08:49:52.633+00:00",
    "ended_at": "2026-06-20T08:49:52.636+00:00"
  },
  "events": [
    {
      "seq": 0,
      "name": "redaction-e2e",
      "type": "run",
      "error": null,
      "input": "test",
      "phase": "start",
      "output": null,
      "run_id": "01KVJ3HQFRR2AC90P9SK08M680",
      "status": "running",
      "ts_end": null,
      "span_id": "01KVJ3HQFRR5CE06699RZJ56HT",
      "metadata": {},
      "ts_start": "2026-06-20T08:49:52.633Z",
      "parent_span_id": null,
      "schema_version": 1,
      "_hash": "e9314fcc3c7fb288a456bd54d03f58a942cebbecce3d0c87ace2d2f3f9c9ca98"
    },
    {
      "seq": 1,
      "type": "llm",
      "error": null,
      "model": {
        "model_id": "gpt-oss-120b",
        "provider": "groq"
      },
      "usage": {
        "input_tokens": 10,
        "total_tokens": 15,
        "output_tokens": 5
      },
      "run_id": "01KVJ3HQFRR2AC90P9SK08M680",
      "ts_end": "2026-06-20T08:49:52.636Z",
      "request": {
        "tools": [],
        "params": {
          "temperature": 0.7
        },
        "system": "Email [redacted:email]. Use key [redacted:openai_key].",
        "messages": [
          {
            "role": "user",
            "content": "my ssn is [redacted:ssn] and card [redacted:credit_card]"
          }
        ]
      },
      "span_id": "01KVJ3HQFWW966Q4HZKKAAD3NJ",
      "response": {
        "text": "ok, mailed [redacted:email]",
        "reasoning": null,
        "tool_calls": [],
        "finish_reason": "stop"
      },
      "ts_start": "2026-06-20T08:49:52.636Z",
      "latency_ms": 100,
      "parent_span_id": "01KVJ3HQFRR5CE06699RZJ56HT",
      "schema_version": 1,
      "_hash": "1445e3fc4ebd52a9788c158546085961d5243b4791fb4601ca3c79dc2a339a8f"
    },
    {
      "seq": 2,
      "name": "redaction-e2e",
      "type": "run",
      "error": null,
      "input": null,
      "phase": "end",
      "output": "done",
      "run_id": "01KVJ3HQFRR2AC90P9SK08M680",
      "status": "success",
      "ts_end": "2026-06-20T08:49:52.636Z",
      "span_id": "01KVJ3HQFW44K7AKWY86NXW64P",
      "metadata": {},
      "ts_start": "2026-06-20T08:49:52.636Z",
      "parent_span_id": "01KVJ3HQFRR5CE06699RZJ56HT",
      "schema_version": 1,
      "_hash": "5548f2deab40b6d13bb3b2d479b4e1e0ccc2b9122ce117c70b500f5829e9568b"
    }
  ]
}