{"uid":"cap_np-L8l3TNwwyLJxJefZ_s","slug":"agent-result-envelope-check-8bd019e4","name":"Agent Result Envelope Check","description":"Agent Result Envelope Check: Agent Result Envelope Check checks a generic agent result for schema, status, and data or error from bounded caller-supplied values without an external provider. Call Agent Result Envelope Check before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for Agent Result Envelope Check as v…","url":"https://api.delx.ai/api/v1/x402/agent-result-envelope-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"result":{"type":"object","description":"Result supplied to Agent Result Envelope Check; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"result":{"valid":true,"missing_fields":[],"has_data_or_error":true},"schema":"delx/util-agent-result-envelope-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"c30da2c0725b81b5ab82ab69c3268cdbd81eff1c80cf99cf2fe58603f665419f","external_calls":0},"operation":"delivery_contract:agent_result_envelope_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OSFBIgK1DnJhzvGVhrwqm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an agent result object against schema, status, and data/error envelope rules to produce an explicit accept or reject decision before payment or delivery acceptance.","exampleAgentPrompt":"Before I accept and pay for this agent result, run an envelope check on it — validate the schema, status, and data fields to confirm it passes or tell me what mismatches exist.","exampleUseCases":[{"title":"Pre-payment x402 result gate","prompt":"I just received an agent result for an x402 job — before I release payment, check this result object for schema validity, status, and data completeness and tell me if I should accept or reject it."},{"title":"Debugging malformed agent response","prompt":"My agent pipeline returned a result but I'm not sure if the envelope is well-formed — can you run an envelope check and show me any mismatch reasons or errors?"},{"title":"Automated delivery acceptance guard","prompt":"I'm building an agent workflow that auto-accepts deliveries — validate this incoming result object against the envelope rules and only proceed if it comes back as accepted."}],"resultDescription":"Returns contract-specific validation checks, normalized evidence, an explicit accept or reject status, and a list of mismatch reasons explaining why a result passed or failed envelope validation.","failureModes":["Result object exceeds maxProperties limit of 128 — returns validation error","Malformed or missing required envelope fields cause schema rejection","Caller-supplied result contains inconsistent status and data fields — surfaces as mismatch reasons","Empty result object passed — may return rejection with no substantive evidence"],"whenToPreferThis":"Use this endpoint when you need a lightweight, local, in-memory validation of an agent result envelope before committing to payment or accepting a delivery — especially in x402 workflows where accepting a bad result has financial consequences. Prefer this over manual inspection when you need structured mismatch reasons and normalized evidence rather than raw schema diff.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:38.917Z","isFirstParty":false,"canonicalSlug":"agent-result-envelope-check-8bd019e4"}