{"uid":"cap_hvBMcePdySZrByeyC-BD0","slug":"agent-delivery-batch-gate-3c8bef88","name":"Agent Delivery Batch Gate","description":"Agent Delivery Batch Gate: Agent Delivery Batch Gate checks batch terminality, success fraction, and refund-queue coverage from bounded caller-supplied values without an external provider. Call Agent Delivery Batch Gate 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 Batch Gate as version…","url":"https://api.delx.ai/api/v1/x402/agent-delivery-batch-gate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"total":{"type":"integer","description":"Total supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"failed":{"type":"integer","description":"Failed supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"pending":{"type":"integer","description":"Pending supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"succeeded":{"type":"integer","description":"Succeeded supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"refund_queued":{"type":"integer","description":"Refund Queued supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."},"minimum_success_fraction":{"type":"number","description":"Minimum Success Fraction supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"accepted":true,"terminal":true,"refund_coverage":true,"success_fraction":0.97,"counts_consistent":true},"schema":"delx/util-agent-delivery-batch-gate/v1","status":"pass","evidence":{"retained":false,"input_sha256":"a3ede22673e2353847a91c1d024be5fc857ce9eb03c713162639695522959963","external_calls":0},"operation":"delivery_contract:agent_delivery_batch_gate"}},"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_1os7mCiBTiyr24iwp0Ri6","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 whether a batch of agent deliveries meets terminality, success fraction, and refund-queue coverage thresholds before payment or acceptance","exampleAgentPrompt":"Before we pay for this batch, check if it's ready to accept: 120 total deliveries, 110 succeeded, 5 failed, 5 pending, 3 refund-queued, and we require at least a 0.90 success fraction.","exampleUseCases":[{"title":"Pre-payment batch acceptance check","prompt":"We have a completed agent delivery batch with 200 total tasks, 185 succeeded, 10 failed, 5 pending, and 2 refund-queued — can you check if it meets our 0.92 minimum success fraction before we settle the x402 payment?"},{"title":"Refund queue coverage validation","prompt":"Before accepting this delivery, verify the batch: 50 total, 44 succeeded, 4 failed, 2 pending, 6 refund-queued, with a minimum success fraction of 0.85 — does it pass the gate?"},{"title":"Strict terminality gate for high-stakes pipeline","prompt":"Run a batch gate check on our agent delivery results: 300 total, 298 succeeded, 2 failed, 0 pending, 0 refund-queued, and require a 0.99 success fraction — tell me if we can safely accept and pay."}],"resultDescription":"Returns whether the batch is accepted or rejected, along with contract-specific check results, normalized evidence from the supplied values, and explicit mismatch reasons explaining any failed conditions","failureModes":["Invalid or inconsistent counts (e.g. succeeded + failed + pending > total) may produce a rejection or error","Non-numeric or out-of-range values for minimum_success_fraction (e.g. greater than 1.0) may cause validation failure","Missing required fields may result in an error or incomplete evaluation","Edge cases like all-zero counts or 100% refund-queued may produce unexpected gate outcomes"],"whenToPreferThis":"Use this endpoint as a preflight gate before paying for or accepting any x402 or agent-assembled delivery batch. It is purpose-built for evaluating batch terminality, success fraction compliance, and refund-queue coverage in a single bounded, stateless call — ideal for agent workflows that need a cheap, fast, deterministic check before committing to payment or downstream processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:42:36.980Z","isFirstParty":false,"canonicalSlug":"agent-delivery-batch-gate-3c8bef88"}