{"uid":"cap_M5vOXozhgClhY91J1qWdk","slug":"agent-x402-post-settlement-audit-bundle-export-standard-3050e77d","name":"agent-x402-post-settlement-audit-bundle-export-standard","description":"Deterministic procedure for assembling every artifact of a settled x402 workflow (quote, payment intent, onchain settlement receipt, execution proof, reconciliation outcome) across rails into one canonical, completeness-gated audit bundle for human reviewers and compliance archives. Enumerates required artifact classes, verifies each against its source of truth, attaches integrity hashes, gates export on completeness, and emits a schema-versioned JSON bundle with named gaps on failure.","url":"https://k2so.wrong.systems/api/services/agent-x402-post-settlement-audit-bundle-export-s","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"agent-x402-post-settlement-audit-bundle-export-standard paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"agent-x402-post-settlement-audit-bundle-export-s","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-x402-post-settlement-audit-bundle-export-s","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8_7UlPKhNtKiJLnnuEmID","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Assembles and exports a completeness-gated, integrity-hashed audit bundle of all artifacts from a settled x402 workflow for compliance archiving and human review.","exampleAgentPrompt":"Can you export the full post-settlement audit bundle for our completed x402 workflow — I need all artifacts including the quote, payment intent, onchain settlement receipt, execution proof, and reconciliation outcome packaged together with integrity hashes so our compliance team can review it?","exampleUseCases":[{"title":"Compliance archive for settled agent payment","prompt":"Our autonomous agent just finished a paid x402 service workflow and I need to archive everything for compliance — can you assemble the full audit bundle with the quote, payment intent, settlement receipt, execution proof, and reconciliation outcome, all with integrity hashes attached?"},{"title":"Human reviewer handoff after agent transaction","prompt":"I need to hand off a completed x402 agent transaction to our human review team — please export the post-settlement audit bundle so they have every artifact in one verified, schema-versioned package, and flag any gaps if something is missing."},{"title":"Audit readiness check for x402 settlement","prompt":"Before we close out this x402 settlement, can you run the completeness gate and export the canonical audit bundle — I want to confirm every required artifact class is present and verified against its source of truth before we submit to the auditor?"}],"resultDescription":"A schema-versioned JSON audit bundle containing all settled x402 workflow artifacts (quote, payment intent, onchain settlement receipt, execution proof, reconciliation outcome), each verified against its source of truth with attached integrity hashes. If completeness gates fail, the bundle includes named gaps identifying which artifact classes are missing or unverifiable. The response includes ok/paid status flags, a service identifier, provider attribution, and an ISO-8601 generation timestamp.","failureModes":["Missing required artifacts cause export to fail completeness gate — bundle returned with named gaps instead of full export","Invalid or unresolvable workflow reference returns ok: false with error detail","Payment not completed (x402 unpaid) results in gated response without the full bundle","Schema version mismatch may cause downstream parsing failures","Source-of-truth verification failure for one or more artifacts blocks full bundle export"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, completeness-gated, integrity-verified export of all artifacts from a settled x402 agent workflow — specifically when compliance archiving, human reviewer handoff, or formal audit submission is required. Prefer this over ad-hoc artifact collection when you need schema-versioned output with named gap reporting on failure, and when the x402 payment rail is the settlement mechanism involved.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T15:27:52.602Z","isFirstParty":false}