{"uid":"cap_-obGIgerm48e55fZEpQvj","slug":"delx-commerce-error-budget-plan-calculator-4a19d391","name":"Delx Commerce — Error Budget 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/error-budget-plan?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"slo_percent":{"type":"number","description":"Service level objective as a percent (e.g. 99.9)."},"window_requests":{"type":"number","description":"Request count in the error-budget window."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-error-budget-plan/v1","slo_percent":99.9,"budget_percent":0.1,"window_requests":100000,"allowed_failures":100}},"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_y5D2qRHLMGACsjlMNDFd4","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":"Calculates the allowed failure count and error budget percentage for a given SLO target and request window","exampleAgentPrompt":"What's my error budget if I have a 99.9% SLO target and I'm expecting 100000 requests in the window — how many failures am I allowed?","exampleUseCases":[{"title":"SRE error budget planning","prompt":"I'm running an SLO of 99.5% and I expect 200000 requests this month — how many failures can I tolerate before I breach my error budget?"},{"title":"Reliability threshold validation","prompt":"Our system has a 99.99% SLO. If we get 1000000 requests this quarter, what's the exact number of allowed failures we have in our error budget?"},{"title":"Incident impact assessment","prompt":"We had an outage and I need to know our remaining margin — we're at 99.9% SLO across a 50000 request window. What's the total allowed failure count?"}],"resultDescription":"Returns a JSON object with the schema version, the input SLO percent, the computed budget percent (1 - SLO), the window request count, and the derived number of allowed failures (floor of budget_percent * window_requests).","failureModes":["Missing or invalid slo_percent causes computation failure or unexpected results","slo_percent outside 0–100 range may yield nonsensical budget values","Missing window_requests results in incomplete or errored response","Payment failure via x402 protocol blocks request processing"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-result computation of SLO error budgets without setting up any infrastructure or subscribing to a service. Ideal for agents performing reliability calculations on demand, or for SRE workflows that need to programmatically derive allowed failure counts from SLO targets and request volumes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.930Z","isFirstParty":false,"canonicalSlug":"delx-commerce-error-budget-plan-calculator-4a19d391"}