{"uid":"cap_o0eF19uzYw2X2DI3ev8ra","slug":"delx-timeout-budget-8ce313f9","name":"Delx Timeout Budget","description":"Split a total timeout into per-step budgets after reserved overhead — call when carving a parent timeout into per-step slices after overhead. Use before side effects when composing multi-step agent jobs—the same loyalty/workflow demand band agents already pay for on Bazaar, but fully local. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live…","url":"https://api.delx.ai/api/v1/x402/timeout-budget","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_4girYEFp4_qdhNdWgckIH","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":"Splits a total timeout budget into per-step millisecond allocations after reserving overhead, returning deterministic JSON slices for multi-step agent workflows","exampleAgentPrompt":"I have a 10000ms total timeout for my pipeline with 500ms reserved for overhead — split the remaining budget evenly across 4 sequential steps and tell me how many milliseconds each step gets.","exampleUseCases":[{"title":"Multi-step agent pipeline timeout planning","prompt":"My agent job has a 15000ms total timeout, I need to reserve 1000ms for setup overhead, and the workflow has 6 sequential steps — can you compute how many milliseconds each step should get?"},{"title":"LLM chain orchestration budgeting","prompt":"I'm composing a 3-step LLM chain with an 8000ms parent timeout and 750ms reserved for inter-step coordination overhead — split the remaining time evenly across the 3 steps so I know each step's deadline."},{"title":"API gateway request timeout slicing","prompt":"For an API gateway handling requests with a 5000ms hard timeout, I want to reserve 200ms for response serialization — divide the rest equally across 5 downstream call steps and give me the per-step budget."}],"resultDescription":"Returns deterministic machine-readable JSON containing the per-step millisecond budget calculated as (total_ms minus reserved_ms) divided by steps, along with the remaining budget after overhead and individual step allocations.","failureModes":["steps value of zero causes division-by-zero error","reserved_ms exceeding total_ms results in negative remaining budget","missing required fields (steps, total_ms, reserved_ms) returns validation error","non-numeric inputs rejected with type error","payment failure via x402 prevents execution"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, stateless, local computation to split a parent timeout into per-step slices in a multi-step agent or workflow pipeline — especially when composing sequential jobs where you want reproducible, machine-readable JSON output without any external dependencies or data retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:05.961Z","isFirstParty":false}