# Delx Retry Budget Plan

> Delx Retry 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).

Generates a deterministic bounded exponential backoff retry delay schedule with a configurable hard delay cap

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/retry-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-retry-budget-plan-eb362ca1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n2I-U4UVpaR6YiGCbOorY

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-retry-budget-plan-eb362ca1 -d '<json body>'
```

Example prompt: Build me a bounded exponential retry schedule starting at 200ms, doubling each attempt, with a hard cap of 30000ms and a maximum of 8 attempts.

## When to prefer this

Choose this endpoint when you need a deterministic, locally-computed, stateless exponential backoff schedule with a hard delay ceiling and no external dependencies. Ideal for agent orchestration pipelines that require reproducible retry budgets before side-effecting operations, or when you want a cheap ($0.003 USDC), zero-latency computation without storing any inputs upstream.

## Known failure modes

- Invalid factor value (e.g. negative or zero) returns a 4xx validation error
- max_attempts outside the 1–20 range returns a validation error
- Missing required fields returns a 400 bad request
- Payment not included or insufficient USDC returns a 402 Payment Required response

## How this service works

Build a bounded exponential retry delay schedule with a hard delay cap — call when configuring exponential backoff before calling a flaky dependency. Use before side effects when composing multi-step agent jobs—the same loyalty/workflow demand band agents already pay for on Bazaar, but fully local. 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…

## Output

Returns a deterministic JSON object containing the computed delay schedule — an ordered list of delay values in milliseconds for each retry attempt up to max_attempts, each capped at max_delay_ms. The output is machine-readable and stateless, with no server-side retention.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "factor": {
   "type": "number",
   "description": "Exponential growth factor per attempt (typically 2)."
  },
  "max_attempts": {
   "type": "number",
   "description": "Maximum retry attempts to schedule (1–20)."
  },
  "max_delay_ms": {
   "type": "number",
   "description": "Hard ceiling for any single delay."
  },
  "base_delay_ms": {
   "type": "number",
   "description": "Initial backoff delay in milliseconds."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-retry-budget-plan/v1",
  "advisory": "Descriptive plan only; caller owns retry policy.",
  "schedule": [
   {
    "attempt": 1,
    "delay_ms": 100
   },
   {
    "attempt": 2,
    "delay_ms": 200
   },
   {
    "attempt": 3,
    "delay_ms": 400
   },
   {
    "attempt": 4,
    "delay_ms": 800
   }
  ],
  "max_attempts": 4,
  "total_delay_ms": 1500
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-retry-budget-plan-eb362ca1/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)
