{
  "format": "agentvisor.receipt.v1",
  "exportedAt": "2026-08-27T07:16:04.483Z",
  "session": {
    "id": "sess_01H9K",
    "externalId": "sess_01H9K7GRPX",
    "agent": "supply-planner",
    "user": "olivia.tan@northwind.com",
    "model": "gpt-4o",
    "events": 42,
    "toolsAllowed": 18,
    "toolsBlocked": 1
  },
  "receipt": {
    "schemaVersion": "1.0",
    "receiptId": "rcpt_01H9K7GRPX_finalized",
    "sessionId": "sess_01H9K7GRPX",
    "orgId": "org_northwind",
    "deploymentId": "dep_prod",
    "startedAt": "2026-08-27T07:10:01.774Z",
    "endedAt": "2026-08-27T07:14:01.774Z",
    "eventCount": 42,
    "tools": {
      "allowed": 18,
      "blocked": 1
    },
    "spend": {
      "llmUsdMicros": "184000",
      "blockedActionsUsdMicros": "8400000000"
    },
    "policiesEnforced": [
      "procurement.allowed_vendors",
      "runtime.write_scope",
      "rate.per_session_usd:10",
      "runtime.pii_redaction"
    ],
    "contentHash": "sha256:90db551a2a7330b4aeeead934c8fc584da8f70a659e91a489a0fb0b331467baf",
    "signature": "ed25519:X45MbR9535Bgy3ytTNKt8EKrxFEHJ+QbSUK/RtF5swtzjy6WVMXMi4/TRNU9I9k2PnoERtgzA3I7PV8PBRcSBw==",
    "signingKeyFingerprint": "f85ae0090441c9dd",
    "rawBody": "{\"schemaVersion\":\"1.0\",\"receiptId\":\"rcpt_01H9K7GRPX_finalized\",\"sessionId\":\"sess_01H9K7GRPX\",\"orgId\":\"org_northwind\",\"deploymentId\":\"dep_prod\",\"startedAt\":\"2026-08-27T07:10:01.774Z\",\"endedAt\":\"2026-08-27T07:14:01.774Z\",\"eventCount\":42,\"tools\":{\"allowed\":18,\"blocked\":1},\"spend\":{\"llmUsdMicros\":\"184000\",\"blockedActionsUsdMicros\":\"8400000000\"},\"policiesEnforced\":[\"procurement.allowed_vendors\",\"runtime.write_scope\",\"rate.per_session_usd:10\",\"runtime.pii_redaction\"],\"contentHash\":\"sha256:90db551a2a7330b4aeeead934c8fc584da8f70a659e91a489a0fb0b331467baf\"}",
    "rawSignatureB64": "X45MbR9535Bgy3ytTNKt8EKrxFEHJ+QbSUK/RtF5swtzjy6WVMXMi4/TRNU9I9k2PnoERtgzA3I7PV8PBRcSBw==",
    "publicKeyHex": "f85ae0090441c9ddaaaeec5e8483e28b7a48521d782117a69c0c17dacc2e6d65"
  },
  "publicKey": {
    "algorithm": "ed25519",
    "hex": "f85ae0090441c9ddaaaeec5e8483e28b7a48521d782117a69c0c17dacc2e6d65"
  },
  "verifyingInstructions": {
    "algorithm": "Ed25519",
    "message": "receipt.rawBody (UTF-8 bytes)",
    "signature": "base64-decode(receipt.rawSignatureB64)",
    "publicKey": "hex-decode(publicKey.hex)",
    "command": "node server/scripts/verify-receipt.mjs sess_01H9K7GRPX.json",
    "docs": "https://agentvisorai.me/reference/receipts"
  }
}
