# Delx Commerce — Batch Retry Partition

> Delx Commerce — Batch Retry Partition 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).

Partitions a batch of results into retry-eligible and terminal subsets based on specified retry status codes

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/batch-retry-partition?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-batch-retry-partition-42e059cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CZQkXfxSRI1_OV0kNuHQC

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-batch-retry-partition-42e059cc -d '<json body>'
```

Example prompt: I have a list of batch job results with status codes — can you split them into items that should be retried (status codes 429, 503, 504) versus ones that are terminal failures?

## When to prefer this

Use this endpoint when you need a lightweight, stateless, pay-per-call utility to classify batch results into retryable vs terminal buckets without building custom logic. Ideal for AI agents orchestrating retry workflows where no data retention is needed and verifiable in-memory processing (evidenced by SHA-256 hash) is a priority. Prefer this over custom code when working in agent pipelines that already support x402 micropayments on Base or Solana.

## Known failure modes

- Malformed results array (items exceeding maxProperties:128 or array exceeding 256 items) causes validation failure
- Non-integer values in retry_statuses array cause schema rejection
- Empty results array returns empty retry_ids and terminal_ids
- Payment failure via x402 protocol prevents endpoint access
- Missing required fields in request body return 4xx errors

## How this service works

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

## Output

Returns two lists: retry_ids (items eligible for retry based on the provided status codes) and terminal_ids (items that have reached a terminal state). Also includes evidence metadata: input SHA-256 hash, retained=false confirming no data retention, and external_calls=0 confirming fully in-memory processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "results": {
   "type": "array",
   "items": {
    "type": "object",
    "maxProperties": 128,
    "additionalProperties": true
   },
   "maxItems": 256,
   "description": "Results supplied to Batch Retry Partition; 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 Batch Retry Partition; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "retry_ids": [
    "a"
   ],
   "terminal_ids": [
    "b"
   ]
  },
  "schema": "delx/util-batch-retry-partition/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "5f935095f76a31782f1c9a8c7e5902750ef8ab4892e42907305c67bf707b6e0f",
   "external_calls": 0
  },
  "operation": "data_batch:batch_retry_partition"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-batch-retry-partition-42e059cc/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)
