{"uid":"cap_Ezxr-iyw8UaN6ghFcWVVk","slug":"delx-slo-compliance-a9823557","name":"Delx SLO Compliance","description":"Measure achieved reliability against an SLO target from good and total events. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.","url":"https://api.delx.ai/api/v1/x402/slo-compliance","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"good_events":{"type":"integer","minimum":0},"total_events":{"type":"integer","minimum":0},"target_percent":{"type":"number","default":99.9,"maximum":100,"minimum":0}}},"responseSchema":{"type":"json","example":{"schema":"delx/slo-compliance/v1","compliant":true,"bad_events":20,"good_events":99980,"total_events":100000,"actual_percent":99.98,"target_percent":99.9,"gap_percentage_points":0.08}},"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_V9UJGp_ffQ4vL9OoUlxBP","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":"Calculates whether a service meets its SLO target by comparing good events to total events and returning a compliance verdict in machine-readable JSON.","exampleAgentPrompt":"We had 99,850 successful requests out of 100,000 total this week — can you check whether that meets our 99.9% SLO target?","exampleUseCases":[{"title":"Pre-deploy reliability gate","prompt":"Before we push this release, check if our service qualifies — we had 14,950 good events out of 15,000 total, against a 99.5% SLO. Are we compliant?"},{"title":"Monthly SLO reporting","prompt":"At the end of the month we recorded 2,987,500 successful API calls out of 3,000,000 total. Does that hit our 99.9% reliability target?"},{"title":"Incident post-mortem compliance check","prompt":"During last week's incident we served 47,800 good responses out of 50,000 total — did we still meet our 95% SLO or did we breach it?"}],"resultDescription":"Returns a bounded machine-readable JSON object indicating whether the computed reliability (good_events / total_events as a percentage) meets the specified target_percent, along with the achieved reliability value and a compliance boolean or verdict field.","failureModes":["Validation failure if good_events exceeds total_events — not billed","Missing required fields (good_events or total_events) return structured validation error — not billed","Non-integer values for event counts rejected with validation error","target_percent out of range (0-100) causes validation failure","Network errors or payment issues may prevent call completion"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, stateless, local computation of SLO compliance from raw event counts — especially in agentic workflows that require a bounded preflight check before acting on untrusted input, calling an upstream API, or approving a deployment. It is ideal when you do not want to rely on an external observability platform and simply need a cheap, fast, machine-readable verdict from first-party math.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:57.922Z","isFirstParty":false}