{"uid":"cap_5KjPrS5rlPDU03R5FnQFd","slug":"x402-delivery-schema-check-3610a415","name":"X402 Delivery Schema Check","description":"X402 Delivery Schema Check: X402 Delivery Schema Check checks delivered object fields against a caller-required field list from bounded caller-supplied values without an external provider. Call X402 Delivery Schema 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 X402 Delivery Schema Check as versi…","url":"https://api.delx.ai/api/v1/x402/x402-delivery-schema-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"result":{"type":"object","description":"Result supplied to X402 Delivery Schema Check; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true},"required_fields":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Required Fields supplied to X402 Delivery Schema Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"schema_valid":true,"missing_fields":[]},"schema":"delx/util-x402-delivery-schema-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"5a2d2f997e6dd8109bb4a094caded4b79eb4c788696584b9ac0b919395398f9b","external_calls":0},"operation":"delivery_contract:x402_delivery_schema_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_jgwj8eafEVZbJ1avtO-ax","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 delivered x402/agent result objects against a caller-specified required field list, returning acceptance or rejection status with mismatch reasons and normalized evidence.","exampleAgentPrompt":"Before I pay for this x402 delivery, check the result object against my required fields list — ['invoice_id', 'amount', 'recipient', 'timestamp'] — and tell me if it passes or should be rejected.","exampleUseCases":[{"title":"Pre-payment x402 delivery gate","prompt":"I just received an x402 agent result and I need to verify it has all required fields — 'order_id', 'status', 'delivery_proof', and 'timestamp' — before I release payment. Can you run a schema check on it?"},{"title":"Automated agent output validation","prompt":"My agent pipeline assembles results from multiple sources. Before accepting any result, check it against my required field list ['user_id', 'summary', 'confidence_score'] and tell me exactly which fields are missing or mismatched."},{"title":"Rejection screening for incomplete deliveries","prompt":"Screen this delivered result object for me — I need to know if it satisfies all of these required fields: 'payload', 'signature', 'issued_at', 'contract_ref'. Give me the acceptance or rejection decision and the specific reasons if it fails."}],"resultDescription":"Returns a structured response containing an explicit acceptance or rejection status for the delivered object, contract-specific field checks, normalized evidence of what was found, and detailed mismatch reasons for any fields that failed validation.","failureModes":["Result object exceeds 128 properties limit — request rejected","Required fields array exceeds 256 items limit — request rejected","Individual field name exceeds 8192 character limit — request rejected","Malformed result object (not a valid JSON object) — validation error","Empty required_fields array — may return acceptance trivially","Payment of 0.001 USDC not fulfilled — 402 response returned"],"whenToPreferThis":"Use this endpoint when you need a lightweight, in-memory, no-external-dependency schema check on an x402 or agent delivery result before committing to payment or downstream processing. Prefer this over custom validation logic when you want a standardized acceptance/rejection decision with explicit mismatch reasons, especially in agentic pipelines where result completeness must be gated before payment release.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:02:04.870Z","isFirstParty":false}