{"uid":"cap_vcQTDAhQMYLyceHPIi8uc","slug":"x402-delivery-latency-check-264a3ad3","name":"X402 Delivery Latency Check","description":"X402 Delivery Latency Check: X402 Delivery Latency Check checks observed delivery latency against a buyer SLA from bounded caller-supplied values without an external provider. Call X402 Delivery Latency 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 Latency Check as versioned determ…","url":"https://api.delx.ai/api/v1/x402/x402-delivery-latency-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"latency_ms":{"type":"integer","description":"Latency Ms supplied to X402 Delivery Latency Check; used only for this bounded calculation and processed in memory without retention."},"maximum_ms":{"type":"integer","description":"Maximum Ms supplied to X402 Delivery Latency Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"latency_ms":120,"maximum_ms":1000,"within_sla":true},"schema":"delx/util-x402-delivery-latency-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"03c9c90cd7fb858eb54622ab93888c5358b1c9a17f5cf97704f3515687d97231","external_calls":0},"operation":"delivery_contract:x402_delivery_latency_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_aPrsnNYS1D_rboPOgHsdI","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 observed delivery latency against a buyer-defined SLA threshold and returns an explicit accept/reject status with mismatch reasons","exampleAgentPrompt":"Before I accept this delivery, check if the observed latency of 320 ms is within my maximum allowed threshold of 500 ms and tell me whether to accept or reject it.","exampleUseCases":[{"title":"Pre-payment latency gate for x402","prompt":"I just received an x402 agent delivery that took 850 ms — my SLA says the maximum is 600 ms. Check whether I should accept or reject it before I authorize payment."},{"title":"Automated SLA compliance check","prompt":"After each agent task completes, verify the delivery latency of 210 ms against my buyer SLA maximum of 400 ms and give me the accept/reject status plus any mismatch reasons."},{"title":"Latency budget enforcement for agentic pipeline","prompt":"My pipeline received a result with an observed delivery latency of 1200 ms and my contract allows a maximum of 1000 ms — run a latency check and tell me if this delivery passes or fails."}],"resultDescription":"Returns a versioned, deterministic validation result including an explicit accept or reject status, contract-specific check outcomes, normalized evidence of the latency comparison, and human-readable mismatch reasons explaining why the delivery passed or failed the SLA threshold.","failureModes":["Missing required fields (latency_ms or maximum_ms not provided) resulting in a validation error","Non-integer or negative values for latency_ms or maximum_ms causing input rejection","Maximum_ms set to zero causing division or comparison edge-case errors","Network timeout reaching the validation endpoint itself"],"whenToPreferThis":"Use this endpoint when you need a deterministic, bounded, in-memory latency SLA check without relying on any external data provider — specifically before accepting or paying for an x402 or agent delivery where delivery speed is a contractual requirement. Prefer this over custom code when you need versioned, auditable accept/reject evidence with normalized mismatch reasons for dispute resolution or automated pipeline gating.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:06:16.771Z","isFirstParty":false}