{"uid":"cap_KPO8ZQKvEIU1UKyT0BFr0","slug":"agent-delivery-partial-result-check-886e8ce1","name":"Agent Delivery Partial Result Check","description":"Agent Delivery Partial Result Check: Agent Delivery Partial Result Check checks partial-result coverage against a minimum fraction from bounded caller-supplied values without an external provider. Call Agent Delivery Partial Result 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 Par…","url":"https://api.delx.ai/api/v1/x402/agent-delivery-partial-result-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"expected_items":{"type":"integer","description":"Expected Items supplied to Agent Delivery Partial Result Check; used only for this bounded calculation and processed in memory without retention."},"delivered_items":{"type":"integer","description":"Delivered Items supplied to Agent Delivery Partial Result Check; used only for this bounded calculation and processed in memory without retention."},"minimum_fraction":{"type":"number","description":"Minimum Fraction supplied to Agent Delivery Partial Result Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"accepted":true,"missing_items":5,"coverage_fraction":0.95},"schema":"delx/util-agent-delivery-partial-result-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"affb680a7fddb6b209266018c6f793c927bfae39d20b6308e3bfb48ece18d11d","external_calls":0},"operation":"delivery_contract:agent_delivery_partial_result_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___KD_Mf36ZvV62Cd48o7E","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 delivered agent result meets a minimum fraction threshold relative to expected items, returning acceptance or rejection with mismatch reasons.","exampleAgentPrompt":"Before I accept and pay for this agent delivery, check if the partial result coverage is acceptable — I expected 100 items, 78 were delivered, and my minimum acceptable fraction is 0.75.","exampleUseCases":[{"title":"Pre-payment x402 delivery gating","prompt":"I'm about to settle an x402 payment for an agent job that was supposed to return 200 records but only returned 160 — check if that meets my 0.80 minimum fraction threshold before I approve the payment."},{"title":"Quality gate in automated pipeline","prompt":"In my data pipeline, the agent was expected to process 50 documents and completed 42 — verify whether that passes the 0.85 minimum fraction requirement so I can decide whether to proceed or retry."},{"title":"SLA compliance check for partial delivery","prompt":"My agent delivered 30 out of 40 expected results — can you check whether that 0.70 minimum fraction SLA is satisfied and give me the acceptance status with any mismatch details?"}],"resultDescription":"Returns a structured response containing: explicit acceptance or rejection status, the computed coverage fraction (delivered/expected), normalized evidence of the calculation, contract-specific checks, and any mismatch reasons explaining why the result was rejected (if applicable).","failureModes":["Missing required parameters (expected_items, delivered_items, or minimum_fraction) result in validation error","expected_items of zero causes division-by-zero or undefined fraction error","minimum_fraction outside 0–1 range may return invalid input error","Non-integer values for expected_items or delivered_items may cause type errors","Negative item counts may result in rejection or error response"],"whenToPreferThis":"Use this endpoint when you need a lightweight, in-memory, stateless check on whether an agent delivery's item count satisfies a caller-defined minimum fraction — especially before approving an x402 payment or accepting an agentic result. Prefer this over building custom fraction logic when you need normalized evidence and explicit accept/reject semantics without external dependencies or data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:34.182Z","isFirstParty":false}