{"uid":"cap_0ozc1-hXaJ5jBb1UVDp8N","slug":"delx-commerce-agent-delivery-timeout-budget-calculator-d5a8989d","name":"Delx Commerce — Agent Delivery 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/agent-delivery-timeout-budget?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"total_ms":{"type":"integer","description":"Total Ms supplied to Agent Delivery Timeout Budget; used only for this bounded calculation and processed in memory without retention."},"connect_fraction":{"type":"number","description":"Connect Fraction supplied to Agent Delivery Timeout Budget; used only for this bounded calculation and processed in memory without retention."},"execution_fraction":{"type":"number","description":"Execution Fraction supplied to Agent Delivery Timeout Budget; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"connect_ms":500,"response_ms":500,"execution_ms":4000,"fractions_valid":true},"schema":"delx/util-agent-delivery-timeout-budget/v1","status":"pass","evidence":{"retained":false,"input_sha256":"5aadb6d1336f3d4fa2d93486dfb8f5d9a724510f083eb1a6a22d43ef639913e9","external_calls":0},"operation":"delivery_contract:agent_delivery_timeout_budget"}},"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_I9l-xZqvufWFn4m1PY_9w","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 bounded connect, response, and execution millisecond allocations from a total timeout budget and fractional splits, returning verifiable in-memory results with no data retention.","exampleAgentPrompt":"Split a 5000ms total delivery timeout for me — use 10% for connect and 80% for execution, and tell me the exact millisecond values for each phase along with whether the fractions are valid.","exampleUseCases":[{"title":"Agent pipeline phase budgeting","prompt":"I have a 10000ms total timeout for my agent delivery pipeline. Allocate 5% for connect and 85% for execution and give me the exact millisecond breakdown."},{"title":"Timeout fraction validation check","prompt":"Can you check whether a 0.1 connect fraction and 0.8 execution fraction are valid splits for a 6000ms total timeout, and return the computed ms for each phase?"},{"title":"Tight real-time delivery budgeting","prompt":"I need to budget a very tight 2000ms delivery window — set 15% for connect and 75% for execution, and verify the fractions are correct."}],"resultDescription":"Returns a JSON object containing computed connect_ms, response_ms, and execution_ms values derived from the input fractions and total_ms, a fractions_valid boolean, the operation name, a SHA-256 hash of the input for verifiability, a retained:false flag confirming no data storage, and external_calls count (always 0).","failureModes":["Invalid fraction values (fractions_valid: false) if connect_fraction + execution_fraction exceed 1.0","Missing required fields (total_ms, connect_fraction, or execution_fraction) causing a 400 error","Payment failure via x402 protocol if USDC is unavailable or payment header is malformed","Non-integer total_ms value causing schema validation rejection"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, verifiable, privacy-preserving computation of timeout phase allocations without any external calls or data retention. Prefer it over custom in-agent calculations when auditability (input SHA-256, fractions_valid flag) and pay-per-result micropayment accountability matter. Ideal for agent delivery pipelines on Base or Solana using the x402 payment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:39.730Z","isFirstParty":false,"canonicalSlug":"delx-commerce-agent-delivery-timeout-budget-calculator-d5a8989d"}