# Delx Commerce — Agent Delivery Retry Plan Calculator

> Delx Commerce — Agent Delivery Retry Plan Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes a retry schedule (delay intervals and attempt count) for an agent delivery operation given an HTTP status code and backoff parameters.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-delivery-retry-plan?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-agent-delivery-retry-plan-calculator-4aca6a8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j47YQNWE5sEkWqQedc3l8

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-commerce-agent-delivery-retry-plan-calculator-4aca6a8f -d '<json body>'
```

Example prompt: Calculate a retry plan for a failed agent delivery that returned HTTP status 503 — use a base delay of 250ms, a backoff factor of 2, up to 3 maximum attempts, and treat 429, 500, 502, 503, and 504 as retryable statuses.

## When to prefer this

Use this endpoint when an AI agent needs a deterministic, verifiable, in-memory retry schedule computation without writing custom backoff logic. It is ideal when auditability matters (input hash is returned), no data is retained, and you need a cheap ($0.001 USDC) pay-per-call utility with no signup friction. Prefer it over rolling your own retry logic when operating in an agentic pipeline that already uses x402 micropayments on Base or Solana.

## Known failure modes

- Invalid or missing status code returns a validation error
- Non-numeric factor or base_delay_ms causes a schema rejection
- retryable_statuses array exceeding 256 items is rejected
- Malformed request body returns a parse error
- Payment not included or insufficient USDC results in HTTP 402

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with an array of delay intervals in milliseconds (delays_ms), a boolean indicating whether the given status is retryable, and the maximum number of attempts. Also includes evidence metadata: whether inputs were retained (always false), the SHA-256 of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "factor": {
   "type": "number",
   "description": "Factor supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."
  },
  "status": {
   "type": "integer",
   "description": "Status supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."
  },
  "base_delay_ms": {
   "type": "integer",
   "description": "Base Delay Ms supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."
  },
  "maximum_attempts": {
   "type": "integer",
   "description": "Maximum Attempts supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."
  },
  "retryable_statuses": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "maxItems": 256,
   "description": "Retryable Statuses supplied to Agent Delivery Retry Plan; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "delays_ms": [
    250,
    500
   ],
   "retryable": true,
   "maximum_attempts": 3
  },
  "schema": "delx/util-agent-delivery-retry-plan/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "3febfbef54575bfc00d024ab7df28390ed0c68d500f390742540ab5dc9cf94cc",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_delivery_retry_plan"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-agent-delivery-retry-plan-calculator-4aca6a8f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
