{"api_version":2,"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","id":"c2e4039e-110c-4edc-a83a-b67ca37ec6df","source_url":"https://zambo.dev/api/receipt/c2e4039e-110c-4edc-a83a-b67ca37ec6df","receipt":{"id":"c2e4039e-110c-4edc-a83a-b67ca37ec6df","created_at":"2026-11-20T15:15:42.573Z","receipt_schema_version":"0.4","job_summary":"prompt: Client document-extraction review-queue case. A builder runs PDF extraction flows for clients: PDF in, extract, validate, human review, push into the client system. An exception lands in the review queue. Required record behavior: the exception entry is filed at run time with the document id, the extracted fields and their confidences, and the validation state, on a page the client can open without an n8n login. The client review decision, approve or correct, sits on that record naming the document version it covers. A corrected document lands as a new version on the same record and returns the decision to pending, and the downstream push checks the decision state first, so a corrected document is never delivered twice. If validation itself silently stops running, the record shows the run as absent instead of green.","tools":["prompt_shield"],"steps":[{"tool":"prompt_shield","status":"success","started_at":"2026-11-20T15:15:42.299Z","completed_at":"2026-11-20T15:15:42.573Z"}],"output_hash":"sha256:150f6971e576d23146815e4e6c379fddd1f7d0463c05a27195625b60bc5af01b","hash_algorithm":"sha256","canonical_bytes":"eyJjYWxsZXIiOnsiaWQiOiJzaGEyNTY6MDc4YTlhMmZiNmY4YTM5NTY4Mjg0YmE4OWQ0Mzc2ZDMxMGFjMzI0MTJmYjlkMGQyNzM2OGRjMDg1NTU0MTJjMyIsInR5cGUiOiJzZXNzaW9uIn0sImlzc3Vlcl9jbGFpbXMiOnsicHJvdmVuYW5jZV9jbGFzcyI6IkVYRUNVVEVEIEJZIFpBTUJPIn0sIm91dHB1dCI6eyJfbWV0YSI6eyJkZXNjcmlwdGlvbiI6IlByb21wdCBpbmplY3Rpb24gJiBqYWlsYnJlYWsgZGV0ZWN0aW9uIEFQSSIsImRvY3MiOiJodHRwczovL3phbWJvLmRldi9hcGkvcHJvbXB0LXNoaWVsZCIsInBhdHRlcm5fbGlicmFyeV9zaXplIjoyMSwidG9vbCI6IlByb21w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2wiOnsibmFtZSI6InByb21wdF9zaGllbGQiLCJzY29wZSI6InB1YmxpYyIsInZlcnNpb24iOiI0LjEuNCJ9fQ==","canonical_bytes_withheld_for_privacy":false,"canonical_byte_length":1195,"verification_status":"verified","session_trail":[{"tool":"prompt_shield","status":"completed","args_hash":"sha256:3ad1418d9ae85a4b11917dd8288c382a1a2c6fed64fb0db47989452e80dfbef9","timestamp":"2026-11-20T15:15:42.573Z","receipt_uuid":"c2e4039e-110c-4edc-a83a-b67ca37ec6df"}],"result_preview":"{\"recommendation\":\"safe\",\"scan_label\":\"pattern check (21 rules)\",\"injection_risk\":0,\"risk_level\":\"none\",\"jailbreak_detected\":false,\"policy_bypass_detected\":false,\"prompt_leak_detected\":false,\"pii_extraction_attempt\":false,\"flagged_patterns\":[],\"pattern_count\":0,\"analysis\":{\"intent\":\"benign\",\"attack_vector\":null,\"reasoning\":\"No injection patterns detected\",\"safe_version\":null},\"scan_mode\":\"pattern\",\"semantic_status\":\"not_requested\",\"latency_ms\":0,\"pass_used\":false,\"usage\":{\"plan\":\"free\",\"calls_remaining\":\"unknown\",\"daily_limit\":20,\"upgrade\":\"https://zambo.dev/day-pass/\"},\"_meta\":{\"tool\":\"PromptShield by zambo.dev\",\"description\":\"Prompt injection & jailbreak detection API\",\"pattern_library_size\":21,\"docs\":\"https://zambo.dev/api/prompt-shield\"}}","result_preview_integrity":"display_only_not_committed","result_preview_truncated":false,"input_hash":"sha256:35d6e64aafa63144caab32119c599dd16957cf6130a01f2ba4b198418557ea39","input_hash_layout":"zambo-json-sorted-keys-utf8-v1","free_used":1,"free_remaining":2,"free_limit":3,"signal_handle":null,"tool":{"name":"prompt_shield","version":"4.1.4","scope":"public"},"caller":{"type":"session","id":"sha256:078a9a2fb6f8a39568284ba89d4376d310ac32412fb9d0d27368dc08555412c3"},"side_effects":{"declared":["none"],"schema_version":"zambo-side-effects/1","declaration_hash":"sha256:45aad38f3aa982b9aafe92ecb416ebe98791eddbaf8ab6df0bd08605b7c1bfee"},"evidence_sha256":"sha256:ea7ed2f24c71f77beba6936d24a50a3e009d96e0464d7d547af1222964d9a0b0","evidence_url":"/api/evidence/ea7ed2f24c71f77beba6936d24a50a3e009d96e0464d7d547af1222964d9a0b0","evidence_byte_length":752,"evidence_content_type":"application/json","evidence_source_url":null,"evidence_status":"ok","result_source":null,"evidence_source":"localhost","external_evidence":[],"provenance":{"result_source":null,"evidence_source":"localhost","evidence_status":"ok","evidence_captures":[{"sha256":"sha256:ea7ed2f24c71f77beba6936d24a50a3e009d96e0464d7d547af1222964d9a0b0","source":"localhost","capture_role":"primary","evidence_status":"ok"}]},"provenance_class":"EXECUTED BY ZAMBO","metadata_hash":"sha256:8828cb9b40a9d97e96fe3c17449692f1e01d7479d4ebabd3dc41c96ea4633829","anchor":{"event_id":"64993c5122cee8f113b2e8665372dfaf72e598d02135b483069392aa3440f60b","pubkey":"e13475107d30c918ec664adf2ab1141024a22fb35190f82c9e933704fa49af41","relays":["wss://relay.primal.net"],"status":"published","published_at":"2026-11-20T15:15:43.133Z","published_at_semantics":"Relay confirmation time (accepted acknowledgement or exact-event read-back); not the signed event's created_at.","schema_version":"zambo-receipt-anchor/1","envelope":{"anchored_at":"2026-11-20T15:15:42.573Z","evidence_url":"https://zambo.dev/api/evidence/ea7ed2f24c71f77beba6936d24a50a3e009d96e0464d7d547af1222964d9a0b0","receipt_uuid":"c2e4039e-110c-4edc-a83a-b67ca37ec6df","output_sha256":"sha256:150f6971e576d23146815e4e6c379fddd1f7d0463c05a27195625b60bc5af01b","schema_version":"zambo-receipt-anchor/1","evidence_sha256":"sha256:ea7ed2f24c71f77beba6936d24a50a3e009d96e0464d7d547af1222964d9a0b0","evidence_byte_length":752},"envelope_bytes":"{\"anchored_at\":\"2026-11-20T15:15:42.573Z\",\"evidence_byte_length\":752,\"evidence_sha256\":\"sha256:ea7ed2f24c71f77beba6936d24a50a3e009d96e0464d7d547af1222964d9a0b0\",\"evidence_url\":\"https://zambo.dev/api/evidence/ea7ed2f24c71f77beba6936d24a50a3e009d96e0464d7d547af1222964d9a0b0\",\"output_sha256\":\"sha256:150f6971e576d23146815e4e6c379fddd1f7d0463c05a27195625b60bc5af01b\",\"receipt_uuid\":\"c2e4039e-110c-4edc-a83a-b67ca37ec6df\",\"schema_version\":\"zambo-receipt-anchor/1\"}"},"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","api_version":1,"verification_scope":"separate_sha256_commitment_and_provenance_binding_checks","checks":{"commitment_matches":{"label":"SHA-256 commitment","passed":true,"status":"pass","detail":"The exact decoded canonical bytes match the stored SHA-256 output hash."},"canonical_payload_matches":{"label":"Canonical payload reconstruction","passed":true,"status":"pass","detail":"The stored output and known call context reconstruct the exact canonical bytes."},"provenance_binding":{"label":"Provenance claim binding","status":"pass","passed":true,"detail":"The metadata claim is consistent with the verified receipt bytes; issuer is not authenticated."},"metadata_binding":{"label":"AER-1 metadata hash","status":"pass","passed":true,"detail":"metadata_hash matches the canonical metadata block."},"signature":{"label":"Ed25519 signature (not checked)","passed":false,"status":"not_checked","detail":"No Ed25519 signature or pinned signing key was checked."},"chain":{"label":"Receipt chain (not checked)","passed":false,"status":"not_checked","detail":"No append-only receipt-chain proof was checked."},"issued_by_zambo_dev":{"label":"Issuer authentication","passed":false,"status":"not_checked","detail":"A zambo.dev receipt URL does not authenticate the issuer; no pinned signature or trusted issuer key was checked."},"immutable_log_timestamp":{"label":"Stored timestamp","passed":true,"timestamp":"2026-11-20T15:15:42.573Z","detail":"The receipt store reports 2026-11-20T15:15:42.573Z; immutability is not checked here."},"receipt_schema_version":"0.4","signature_valid":{"label":"Ed25519 signature (not checked)","passed":false,"status":"not_checked","detail":"Compatibility field only. No Ed25519 signature was checked; use API v2 checks.commitment_matches for the SHA-256 commitment."},"chain_valid":{"label":"Receipt chain (not checked)","passed":false,"status":"not_checked","detail":"This endpoint does not verify an append-only chain."}},"execution_context":{"environment":"zambo.dev hosted MCP","quota_identity":{"meter_key":"sha256:3e8865826da9c3d87e565943e706cb84b0c7efa601c720a65cdc36596364e611","stable_handle_hash":"sha256:078a9a2fb6f8a39568284ba89d4376d310ac32412fb9d0d27368dc08555412c3"}}},"evidence_status":"ok","verification_status":"verified","checks":{"commitment_matches":{"status":"pass","passed":true,"expected_hash":"sha256:150f6971e576d23146815e4e6c379fddd1f7d0463c05a27195625b60bc5af01b","computed_hash":"sha256:150f6971e576d23146815e4e6c379fddd1f7d0463c05a27195625b60bc5af01b","detail":"SHA-256 of the exact decoded canonical bytes matches output_hash."},"canonical_payload_matches":{"label":"Canonical payload reconstruction","passed":true,"status":"pass","detail":"The stored output and known call context reconstruct the exact canonical bytes."},"provenance_binding":{"label":"Provenance claim binding","status":"pass","passed":true,"detail":"The metadata claim is consistent with the verified receipt bytes; issuer is not authenticated."},"metadata_binding":{"label":"AER-1 metadata hash","status":"pass","passed":true,"detail":"metadata_hash matches the canonical metadata block."},"issuer_authentication":{"label":"Issuer authentication","passed":false,"status":"not_checked","detail":"A zambo.dev receipt URL does not authenticate the issuer; no pinned signature or trusted issuer key was checked."},"signature":{"status":"not_checked","detail":"No Ed25519 signature or pinned signing key is supplied."},"schema":{"status":"not_checked","detail":"Schema conformance is left to the client using the linked hosted-profile schema."},"chain":{"status":"not_checked","detail":"This endpoint does not verify an append-only receipt chain."}}}