{"uid":"cap_CZQkXfxSRI1_OV0kNuHQC","slug":"delx-commerce-batch-retry-partition-42e059cc","name":"Delx Commerce — Batch Retry Partition","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/batch-retry-partition?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","maxProperties":128,"additionalProperties":true},"maxItems":256,"description":"Results supplied to Batch Retry Partition; used only for this bounded calculation and processed in memory without retention."},"retry_statuses":{"type":"array","items":{"type":"integer"},"maxItems":256,"description":"Retry Statuses supplied to Batch Retry Partition; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"retry_ids":["a"],"terminal_ids":["b"]},"schema":"delx/util-batch-retry-partition/v1","status":"pass","evidence":{"retained":false,"input_sha256":"5f935095f76a31782f1c9a8c7e5902750ef8ab4892e42907305c67bf707b6e0f","external_calls":0},"operation":"data_batch:batch_retry_partition"}},"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_bcQygOmGyvvfSw2ebgMRe","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":"Partitions a batch of results into retry-eligible and terminal subsets based on specified retry status codes","exampleAgentPrompt":"I have a list of batch job results with status codes — can you split them into items that should be retried (status codes 429, 503, 504) versus ones that are terminal failures?","exampleUseCases":[{"title":"Retry queue triage after bulk API calls","prompt":"I just ran a batch of 200 API requests and got back a mix of results. Can you partition them into ones I should retry — where the status is 429, 503, or 504 — versus ones that failed permanently?"},{"title":"Webhook delivery failure classification","prompt":"Here are the results from my webhook delivery batch. I want to know which delivery IDs should go into the retry queue and which ones are done — treat 408 and 503 as retryable statuses."},{"title":"Distributed job scheduler error handling","prompt":"After running my distributed job batch, I have a list of task results with various status codes. Can you split them so I know which task IDs need to be requeued with retry codes 429 and 500, and which are terminal?"}],"resultDescription":"Returns two lists: retry_ids (items eligible for retry based on the provided status codes) and terminal_ids (items that have reached a terminal state). Also includes evidence metadata: input SHA-256 hash, retained=false confirming no data retention, and external_calls=0 confirming fully in-memory processing.","failureModes":["Malformed results array (items exceeding maxProperties:128 or array exceeding 256 items) causes validation failure","Non-integer values in retry_statuses array cause schema rejection","Empty results array returns empty retry_ids and terminal_ids","Payment failure via x402 protocol prevents endpoint access","Missing required fields in request body return 4xx errors"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless, pay-per-call utility to classify batch results into retryable vs terminal buckets without building custom logic. Ideal for AI agents orchestrating retry workflows where no data retention is needed and verifiable in-memory processing (evidenced by SHA-256 hash) is a priority. Prefer this over custom code when working in agent pipelines that already support 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:54:06.682Z","isFirstParty":false,"canonicalSlug":"delx-commerce-batch-retry-partition-42e059cc"}