# Delx OpenAPI Operation Index

> Delx OpenAPI Operation Index is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts an OpenAPI JSON document into a compact, machine-readable operation index for agent planning and tool selection

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/openapi-operation-index
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-openapi-operation-index-308d0214
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hRResdI9j_nwXgTGZdJnn

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-openapi-operation-index-308d0214 -d '<json body>'
```

Example prompt: Take this OpenAPI JSON spec and turn it into a compact operation index I can use to decide which endpoints to call in my workflow.

## When to prefer this

Choose this endpoint when an AI agent needs to introspect an OpenAPI specification at runtime — especially before acting on untrusted input, after an API change, before retrying a failed request, or when evaluating production API reliability. It is deterministic, stateless, local-only, and does not call any upstream provider, making it safe for security-sensitive or sandboxed agentic pipelines. Prefer it over manual spec parsing or LLM-based summarization when you need bounded, structured, machine-readable output at low cost.

## Known failure modes

- Invalid or malformed OpenAPI JSON document returns a structured validation error (not billed)
- Missing or empty spec field returns a validation error
- Spec contains unsupported OpenAPI version or schema constructs may result in partial index
- Network or payment authorization failure prevents execution

## How this service works

Turn an OpenAPI document into a compact operation index for planning and tool selection. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.

## Output

A compact, bounded machine-readable JSON operation index derived from the provided OpenAPI document, listing the available API operations with metadata suitable for agent planning and tool selection. Structured validation failures are returned as error responses without billing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "spec": {
   "type": "object",
   "description": "OpenAPI JSON document."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Jobs API",
  "schema": "delx/openapi-operation-index/v1",
  "truncated": false,
  "operations": [
   {
    "path": "/jobs",
    "tags": [],
    "method": "GET",
    "summary": "List jobs",
    "deprecated": false,
    "operation_id": "listJobs"
   }
  ],
  "operation_count": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-openapi-operation-index-308d0214/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)
