{"uid":"cap_019fGi6iZNXrGn1QeqGGO","slug":"blockchain-money-map-response-completeness-drift-ledger-57de07cb","name":"Blockchain Money Map – Response Completeness Drift Ledger","description":"Tracks hash-only completeness snapshots for paid-agent response contracts across releases.","url":"https://api.blockchainmoneymap.com/api/x402/x402-paid-agent-response-completeness-drift-ledger?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["snapshot","compare","verify"]},"facts":{"type":"object","required":[],"properties":{"schema_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"},"version_label":{"type":"string","maxLength":500},"service_id_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"},"missing_field_codes":{"type":"array","maxItems":50},"present_field_count":{"type":"number"},"required_field_count":{"type":"number"},"response_contract_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"ledger_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{12,160}$","maxLength":160,"minLength":12},"notary_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{12,160}$","maxLength":160,"minLength":12},"record_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{12,160}$","maxLength":160,"minLength":12},"lookup_secret":{"type":"string","pattern":"^[A-Za-z0-9_-]{43,160}$","maxLength":160,"minLength":43},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9_-]{32,160}$","maxLength":160,"minLength":32},"reference_facts":{"type":"object","required":[],"properties":{"schema_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"},"version_label":{"type":"string","maxLength":500},"service_id_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"},"missing_field_codes":{"type":"array","maxItems":50},"present_field_count":{"type":"number"},"required_field_count":{"type":"number"},"response_contract_hash":{"type":"string","pattern":"^sha256:[a-fA-F0-9]{64}$"}},"additionalProperties":false},"retention_class":{"enum":["short","standard","support"],"type":"string"},"idempotency_scope_token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43,160}$","maxLength":160,"minLength":43}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RnZIwR3HL-KWMMpqQuQ3G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Records, compares, and verifies API response completeness drift facts against a tamper-evident ledger, tracking schema field presence over time.","exampleAgentPrompt":"Take a snapshot of the response completeness for service 'abc123-service' — it has 18 present fields out of 22 required, with missing field codes ['addr','ts','sig','meta'], schema hash sha256:aabbcc...ff, and store it in ledger 'ledger-prod-agent-001' with record ID 'rec-2024-snapshot-001'.","exampleUseCases":[{"title":"Daily API completeness snapshot audit","prompt":"Record a completeness snapshot for our payment agent service in ledger 'ledger-payments-v2' — the response had 15 out of 20 required fields present, missing codes are ['fee','nonce','confirmations'], using schema hash sha256:deadbeef...01 and record ID 'snap-daily-2024-06-01'."},{"title":"Compare response drift against reference","prompt":"Compare today's agent API response completeness against the reference baseline in ledger 'ledger-agent-core-001' — current snapshot shows 18 present fields vs 22 required, reference had 22 out of 22, both using contract hash sha256:cafebabe...ff. Use mode 'compare' and record ID 'drift-check-june'."},{"title":"Verify schema contract compliance","prompt":"Verify that the stored ledger entry in 'ledger-compliance-audit' for record 'verify-rec-2024-07' still matches the original response contract hash sha256:11223344...ab — use mode 'verify' so I can confirm nothing has been tampered with."}],"resultDescription":"Returns a JSON object containing the ledger entry result — including confirmation of the stored or compared record, drift analysis (field count deltas, missing field codes), verification verdict, and any policy evaluation outcome. In compare mode, includes a diff of present vs reference facts. In verify mode, returns whether the stored record matches the declared contract hash.","failureModes":["Invalid ledger_id or record_id format returns 400 validation error","Missing required mode field causes request rejection","schema_hash pattern mismatch (not sha256: prefix + 64 hex chars) causes validation failure","idempotency_key collision returns cached prior result rather than new entry","lookup_secret mismatch returns 403 unauthorized","Payment failure via x402 protocol returns 402 with payment requirements","Mismatched reference_facts in compare mode returns drift conflict error","Missing present_field_count or required_field_count in snapshot mode may cause incomplete ledger entry"],"whenToPreferThis":"Choose this endpoint when you need a tamper-evident, blockchain-anchored record of API response completeness over time — specifically to detect schema drift, audit field presence against a contract, or verify that a prior snapshot has not been altered. Prefer this over simple logging when cryptographic verifiability and notarized ledger entries are required for compliance or agent service SLA tracking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:37:11.221Z","isFirstParty":false,"canonicalSlug":"blockchain-money-map-response-completeness-drift-ledger-57de07cb"}