{"uid":"cap_CMRRfZJurUTTiasETJ1Ob","slug":"delx-commerce-timeout-budget-calculator-d51aaa82","name":"Delx Commerce — Timeout Budget 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/timeout-budget?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"steps":{"type":"number","description":"Count of sequential steps that share the remaining timeout after reserved overhead."},"total_ms":{"type":"number","description":"Total timeout budget in milliseconds."},"reserved_ms":{"type":"number","description":"Milliseconds reserved for overhead before per-step split."}}},"responseSchema":{"type":"json","example":{"steps":3,"schema":"delx/util-timeout-budget/v1","feasible":true,"total_ms":5000,"per_step_ms":1500,"reserved_ms":500,"available_ms":4500}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eBUha3fpXRS3L4avgMRZ7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes per-step timeout allocation by splitting a total timeout budget across sequential steps after reserving overhead milliseconds.","exampleAgentPrompt":"I have a total timeout budget of 5000ms, I want to reserve 500ms for overhead, and I need to split the remaining time across 3 sequential steps — how many milliseconds does each step get, and is it feasible?","exampleUseCases":[{"title":"Multi-step agent pipeline timing","prompt":"My agent pipeline has 5 sequential steps and a total timeout of 10000ms. I want to reserve 1000ms for setup overhead — can you calculate how much time each step gets and confirm it's feasible?"},{"title":"Feasibility check before execution","prompt":"I only have 2000ms total and want to reserve 800ms for overhead, then split across 4 steps — is that even feasible, and if so how many milliseconds per step?"},{"title":"Dynamic timeout tuning for LLM chains","prompt":"I'm running a 3-step LLM chain with a 6000ms deadline and 500ms reserved for post-processing overhead. Calculate the per-step timeout budget for me."}],"resultDescription":"Returns a JSON object containing the number of steps, total_ms, reserved_ms, available_ms (total minus reserved), per_step_ms (available divided by steps), a feasibility boolean, and the schema identifier 'delx/util-timeout-budget/v1'.","failureModes":["Invalid or missing required fields (steps, total_ms, reserved_ms) may return a 400 error","reserved_ms >= total_ms results in feasible:false with zero or negative available_ms","Non-numeric inputs may cause validation errors","steps value of 0 would cause a division-by-zero scenario"],"whenToPreferThis":"Use this endpoint when an AI agent or orchestration system needs to programmatically compute fair per-step timeout allocations from a global deadline — especially when a fixed overhead must be reserved before distributing remaining time. Prefer it over manual arithmetic when building dynamic multi-step pipelines where step count or budget varies at runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.302Z","isFirstParty":false,"canonicalSlug":"delx-commerce-timeout-budget-calculator-d51aaa82"}