{"uid":"cap_GXyJm97sZfnrmpPTuYsPu","slug":"delx-success-rate-e252ae32","name":"Delx Success Rate","description":"Compute success and failure rates from success and total counts — call when computing success and failure rates from counts. Use for SRE/ops math agents buy from broad utility catalogs: SLA, error budget, success rate, and health scores with zero upstream cost. 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 chain tip, web search, or medi…","url":"https://api.delx.ai/api/v1/x402/success-rate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"total":{"type":"number","description":"Total attempts or events."},"success":{"type":"number","description":"Count of successful outcomes."}}},"responseSchema":{"type":"json","example":{"total":100,"schema":"delx/util-success-rate/v1","success":97,"failure_rate_percent":3,"success_rate_percent":97}},"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_8HiA3Am5mnJm8aKFcjlqi","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 success rate and failure rate as percentages from a success count and total count","exampleAgentPrompt":"We had 4,750 successful requests out of 5,000 total — what's our success rate and failure rate?","exampleUseCases":[{"title":"SLA compliance check for ops team","prompt":"Out of 10,000 API calls last hour, 9,847 succeeded. What's our success rate and failure rate so I can check if we're meeting our 99% SLA?"},{"title":"Error budget burn calculation","prompt":"We processed 50,000 requests today and 48,900 were successful. Compute the success and failure rates so I can feed them into our error budget tracker."},{"title":"Incident post-mortem health metric","prompt":"During last night's incident we had 3,200 total events and only 2,560 succeeded. Can you calculate the success and failure rates for the post-mortem report?"}],"resultDescription":"Returns a deterministic JSON object containing the computed success rate (as a percentage), failure rate (as a percentage), and likely the raw input counts — all derived locally with no upstream dependencies.","failureModes":["Missing required field (total or success) returns a validation error","Total count of zero causes division-by-zero, likely returning an error or NaN","Success count greater than total count is logically invalid and may return an error","Non-numeric inputs for total or success fields will be rejected"],"whenToPreferThis":"Choose this endpoint when you need a cheap ($0.003), deterministic, stateless computation of success/failure rates from raw counts — ideal for SRE agents, ops pipelines, and health score workflows that already have the counts and just need the math done reliably without building it inline. Prefer over general-purpose LLM math when you need guaranteed deterministic output in machine-readable JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:54:52.265Z","isFirstParty":false}