# Delx Commerce Batch Dependency Levels

> Delx Commerce Batch Dependency Levels 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-02).

Computes topological dependency levels (execution order tiers) for a batch of jobs, detecting cycles or missing dependencies.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/batch-dependency-levels?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-batch-dependency-levels-46dc6ca4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qaeM30lgPFmzjRpCQbvrP

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-dependency-levels-46dc6ca4 -d '<json body>'
```

Example prompt: I have a list of jobs with dependencies — can you figure out which ones can run in parallel and group them into execution tiers, and also flag any circular dependencies?

## When to prefer this

Use this endpoint when you need to compute execution tiers for a batch of interdependent jobs in a single call, especially when cycle detection and verifiable in-memory-only processing (no data retention) are important. Prefer it over custom graph logic when you want a pay-per-call, no-signup, cryptographically verifiable result delivered via x402 on Base or Solana.

## Known failure modes

- Jobs array exceeds 256 items — request rejected
- Individual job object exceeds 128 properties — item rejected
- Malformed JSON body — 400 error
- Cycles detected — reported in cycle_or_missing field rather than erroring
- Missing dependency references — reported in cycle_or_missing field
- Payment failure via x402 — 402 response before processing

## 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 'levels' array where each sub-array is a set of jobs that can execute in parallel at that tier, plus a 'cycle_or_missing' array listing any jobs involved in cycles or with unresolvable dependencies. Also includes an evidence object with input hash and a flag confirming no data retention.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "jobs": {
   "type": "array",
   "items": {
    "type": "object",
    "maxProperties": 128,
    "additionalProperties": true
   },
   "maxItems": 256,
   "description": "Jobs supplied to Batch Dependency Levels; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "levels": [
    [
     "a"
    ],
    [
     "b",
     "c"
    ]
   ],
   "cycle_or_missing": []
  },
  "schema": "delx/util-batch-dependency-levels/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "cec84ec4f047849cfa3ecf3ed56401549860d2fc882012e6aa7b29aa2b2dbc19",
   "external_calls": 0
  },
  "operation": "data_batch:batch_dependency_levels"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-batch-dependency-levels-46dc6ca4/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)
