# Status Retry Classify

> Status Retry Classify is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Classifies whether an HTTP method and status code pair is retryable under a caller-supplied retry policy, returning a deterministic pass/advisory verdict.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/status-retry-classify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/status-retry-classify-d640a9f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_leoQfdqizxIGI0R_-xjB1

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 status-retry-classify-d640a9f8 -d '<json body>'
```

Example prompt: Can you check whether a POST request that got a 503 response is retryable, using a retry list of [429, 500, 503, 504]?

## When to prefer this

Use this endpoint when you need a deterministic, stateless classification of HTTP retry eligibility without implementing retry logic yourself. Prefer it over custom code when building agents, middleware, or orchestration layers that must decide at runtime whether to retry a failed HTTP call based on a caller-supplied policy. It is especially useful when the retry policy varies per caller and you want consistent, versioned, auditable decisions.

## Known failure modes

- Invalid or missing method string returns validation error
- Status code outside valid HTTP range may return advisory or error
- retry_statuses array exceeding 256 items is rejected
- Missing required fields return schema validation error
- Payment failure via x402 results in 402 response before classification runs

## How this service works

Status Retry Classify: Status Retry Classify classifies whether a method and status pair is retryable under caller policy from bounded caller-supplied values without an external provider. Call Status Retry Classify before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Status Retry Classify as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-par…

## Output

Returns versioned deterministic JSON containing: normalized web evidence (the method and status as interpreted), the computed classification finding (retryable or not), and an explicit pass or advisory status indicating whether the caller should proceed with retrying.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string",
   "maxLength": 8192,
   "description": "Method supplied to Status Retry Classify; used only for this bounded calculation and processed in memory without retention."
  },
  "status": {
   "type": "integer",
   "description": "Status supplied to Status Retry Classify; used only for this bounded calculation and processed in memory without retention."
  },
  "retry_statuses": {
   "type": "array",
   "items": {
    "type": "integer"
   },
   "maxItems": 256,
   "description": "Retry Statuses supplied to Status Retry Classify; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "method": "GET",
   "status": 503,
   "retryable": true
  },
  "schema": "delx/util-status-retry-classify/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "498b1dd98fa721e8dccb60815f018e41efb4d8f4369e1e3c772d8cb76c50f32f",
   "external_calls": 0
  },
  "operation": "web_reliability:status_retry_classify"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/status-retry-classify-d640a9f8/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)
