{"uid":"cap_bgw_Zas3aPC5nf0XdBnQf","slug":"agent-delivery-order-check-b50e95a8","name":"Agent Delivery Order Check","description":"Agent Delivery Order Check: Agent Delivery Order Check checks delivered identifiers against expected order from bounded caller-supplied values without an external provider. Call Agent Delivery Order 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 Delivery Order Check as versioned determinist…","url":"https://api.delx.ai/api/v1/x402/agent-delivery-order-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"expected_ids":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Expected Ids supplied to Agent Delivery Order Check; used only for this bounded calculation and processed in memory without retention."},"delivered_ids":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Delivered Ids supplied to Agent Delivery Order Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"ordered":true,"mismatch_indices":[]},"schema":"delx/util-agent-delivery-order-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"a93e772f45da3b48859f4f1c6900055e9082a49385a4800eba45a2117e40c3a3","external_calls":0},"operation":"delivery_contract:agent_delivery_order_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_UjeKX8_dYiyuywb2HQlkz","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 that delivered identifiers match the expected order from caller-supplied lists, returning acceptance/rejection status with mismatch reasons and normalized evidence.","exampleAgentPrompt":"Before I pay for this agent delivery, check whether the delivered IDs [\"task-001\", \"task-002\", \"task-003\"] match the expected order [\"task-001\", \"task-002\", \"task-003\"] and tell me if I should accept or reject it.","exampleUseCases":[{"title":"Pre-payment delivery order validation","prompt":"Before I release payment for this x402 agent result, verify that the delivered IDs [\"step-a\", \"step-b\", \"step-c\"] are in the same order as the expected IDs [\"step-a\", \"step-b\", \"step-c\"] and tell me whether to accept or reject the delivery."},{"title":"Detecting mismatched agent output sequence","prompt":"The agent returned results with IDs [\"doc-3\", \"doc-1\", \"doc-2\"] but I expected them in order [\"doc-1\", \"doc-2\", \"doc-3\"] — can you check if these match and give me the mismatch reasons?"},{"title":"Automated pipeline delivery gate","prompt":"As part of my agent pipeline, check whether the delivered task IDs [\"batch-10\", \"batch-11\"] match the expected sequence [\"batch-10\", \"batch-11\"] before I accept the assembled result — return the acceptance status and any evidence."}],"resultDescription":"Returns an explicit acceptance or rejection status, contract-specific validation checks, normalized evidence derived from the ID comparison, and a list of mismatch reasons explaining any discrepancies between expected and delivered identifier sequences. All processing is in-memory with no data retention.","failureModes":["Mismatched array lengths between expected_ids and delivered_ids causing rejection","IDs present in delivered list but absent from expected list flagged as mismatches","Out-of-order delivery detected and rejection status returned with specific mismatch reasons","Input arrays exceeding 256 items or individual ID strings exceeding 8192 characters rejected","Malformed or missing required fields resulting in validation error"],"whenToPreferThis":"Use this endpoint as a deterministic preflight check before accepting or paying for any agent delivery or x402 transaction where identifier ordering matters. It is purpose-built for in-memory, bounded, stateless order validation without external dependencies, making it ideal for agentic workflows that need fast, auditable accept/reject decisions on caller-supplied challenge and result metadata. Prefer this over building custom comparison logic when you need normalized evidence and explicit mismatch reasons for downstream audit trails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:02:17.950Z","isFirstParty":false}