# Delx Error Budget Plan

> Delx Error Budget Plan is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Converts an SLO percentage and a request window size into the maximum number of allowed failures (error budget) for that window

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/error-budget-plan
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-error-budget-plan-ba4ff8c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iPycIQQeEVi5zLlvk9Deb

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-error-budget-plan-ba4ff8c1 -d '<json body>'
```

Example prompt: How many failures am I allowed if my SLO is 99.9% and I expect 2 million requests in the window? Give me the error budget breakdown.

## When to prefer this

Choose this endpoint when you need a fast, cheap, deterministic calculation to convert an SLO percentage and request volume into an allowed failure count — especially in SRE automation pipelines, alert threshold configuration, or ops math agents where you want zero upstream cost and stateless execution. Prefer over general-purpose LLM math when you need reliable, reproducible JSON output at $0.003 per call.

## Known failure modes

- Missing slo_percent or window_requests fields returns a validation error
- slo_percent outside 0–100 range may return an error or unexpected result
- Non-numeric inputs for either field will fail schema validation
- Very large window_requests values may produce floating-point rounding in the result

## How this service works

Convert an SLO percentage and request window into allowed failure budget — call when converting SLO% and request window into allowed failures. 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, w…

## Output

A deterministic JSON object containing the computed error budget — specifically the number of allowed failures derived from the SLO percentage and total request window count, useful for setting alert thresholds, runbooks, and reliability dashboards.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-error-budget-plan/v1",
  "slo_percent": 99.9,
  "budget_percent": 0.1,
  "window_requests": 100000,
  "allowed_failures": 100
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-error-budget-plan-ba4ff8c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
