{"uid":"cap_j47YQNWE5sEkWqQedc3l8","slug":"delx-commerce-agent-delivery-retry-plan-calculator-4aca6a8f","name":"Delx Commerce — Agent Delivery Retry Plan Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/agent-delivery-retry-plan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"factor":{"type":"number","description":"Factor supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."},"status":{"type":"integer","description":"Status supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."},"base_delay_ms":{"type":"integer","description":"Base Delay Ms supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."},"maximum_attempts":{"type":"integer","description":"Maximum Attempts supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."},"retryable_statuses":{"type":"array","items":{"type":"integer"},"maxItems":256,"description":"Retryable Statuses supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"delays_ms":[250,500],"retryable":true,"maximum_attempts":3},"schema":"delx/util-agent-delivery-retry-plan/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3febfbef54575bfc00d024ab7df28390ed0c68d500f390742540ab5dc9cf94cc","external_calls":0},"operation":"delivery_contract:agent_delivery_retry_plan"}},"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_7EYsfoOmCV5KntbBxaW9o","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":"Computes a retry schedule (delay intervals and attempt count) for an agent delivery operation given an HTTP status code and backoff parameters.","exampleAgentPrompt":"Calculate a retry plan for a failed agent delivery that returned HTTP status 503 — use a base delay of 250ms, a backoff factor of 2, up to 3 maximum attempts, and treat 429, 500, 502, 503, and 504 as retryable statuses.","exampleUseCases":[{"title":"Retry plan for transient 503 error","prompt":"My agent delivery just got a 503 back. Can you compute a retry schedule with a 250ms base delay, factor of 2, max 3 attempts, and retryable statuses 500, 502, 503, and 504?"},{"title":"Check if 429 is retryable with custom backoff","prompt":"Figure out whether HTTP 429 is retryable and give me the delay intervals if I use a 500ms base delay, factor 1.5, and allow up to 5 attempts — retryable statuses are 429, 503."},{"title":"Validate retry logic for agent pipeline","prompt":"I'm building an agent delivery pipeline and got a 500 error. Can you generate the retry delay plan with base delay 100ms, factor 3, max 4 attempts, and retryable statuses 500, 502, 503?"}],"resultDescription":"Returns a JSON object with an array of delay intervals in milliseconds (delays_ms), a boolean indicating whether the given status is retryable, and the maximum number of attempts. Also includes evidence metadata: whether inputs were retained (always false), the SHA-256 of the input, and the number of external calls made (always 0).","failureModes":["Invalid or missing status code returns a validation error","Non-numeric factor or base_delay_ms causes a schema rejection","retryable_statuses array exceeding 256 items is rejected","Malformed request body returns a parse error","Payment not included or insufficient USDC results in HTTP 402"],"whenToPreferThis":"Use this endpoint when an AI agent needs a deterministic, verifiable, in-memory retry schedule computation without writing custom backoff logic. It is ideal when auditability matters (input hash is returned), no data is retained, and you need a cheap ($0.001 USDC) pay-per-call utility with no signup friction. Prefer it over rolling your own retry logic when operating in an agentic pipeline that already uses x402 micropayments on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.006Z","isFirstParty":false,"canonicalSlug":"delx-commerce-agent-delivery-retry-plan-calculator-4aca6a8f"}