{"uid":"cap_N9dZe_1BWdxoAd0KNcG0H","slug":"delx-commerce-error-budget-calculator-576d7d23","name":"Delx Commerce Error 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/error-budget?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target_percent":{"type":"number","default":99.9,"maximum":100,"minimum":0},"total_requests":{"type":"integer","minimum":0},"failed_requests":{"type":"integer","minimum":0}}},"responseSchema":{"type":"json","example":{"schema":"delx/error-budget/v1","exhausted":false,"burn_percent":20.202,"target_percent":99.9,"total_requests":100000,"failed_requests":20,"allowed_failures":99,"remaining_failures":79}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1omHTJPPAsnq25rSJGrde","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes SLO error budget status given total requests, failed requests, and a target availability percentage, returning burn rate and remaining failure allowance.","exampleAgentPrompt":"Calculate my error budget: I have a 99.9% availability target, 100000 total requests so far, and 20 of them failed — how much budget have I burned and how many failures do I have left?","exampleUseCases":[{"title":"SRE checking SLO health mid-incident","prompt":"We had 450 failed requests out of 250000 total today and our SLO target is 99.9% — how much of our error budget is burned and do we still have room?"},{"title":"Automated reliability gate before deployment","prompt":"Before I approve this deploy, check our error budget: 99.95% SLO target, 500000 total requests, 180 failures — are we exhausted or do we have remaining budget?"},{"title":"Weekly reliability review report","prompt":"For our weekly SRE review: we had 1200000 total requests and 850 failures this week against a 99.9% uptime target — what's our burn percentage and how many failures are left in budget?"}],"resultDescription":"Returns a JSON object with the schema version, whether the budget is exhausted (boolean), the percentage of error budget burned (burn_percent), the target availability percent, total and failed request counts, the number of allowed failures under the SLO, and the number of remaining failures before the budget is exhausted.","failureModes":["Invalid input types (non-integer request counts or out-of-range target_percent) may return a 400 error","failed_requests exceeding total_requests may produce nonsensical results or an error","Missing required fields may default gracefully (target_percent defaults to 99.9) but missing total_requests or failed_requests may cause computation failure","Payment failure via x402 protocol returns HTTP 402 if USDC payment is not provided"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use SLO error budget computation without provisioning any infrastructure or signing up for a monitoring platform. Ideal for agents that need on-demand reliability math embedded in automated workflows, CI/CD pipelines, or incident response runbooks. Prefer over full observability platforms when you only need the budget calculation itself, not dashboards or alerting infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:56.441Z","isFirstParty":false,"canonicalSlug":"delx-commerce-error-budget-calculator-576d7d23"}