# Delx Queue Wait Estimate

> Delx Queue Wait Estimate is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Estimates queue wait time given queue depth, mean service time per item, and number of parallel workers

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/queue-wait-estimate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-queue-wait-estimate-e40751e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ffsV_8rcgz1uLFi6CFN-E

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-queue-wait-estimate-e40751e6 -d '<json body>'
```

Example prompt: How long will a new job have to wait if there are 250 items already in the queue, each takes about 120ms to process, and we have 8 workers running in parallel?

## When to prefer this

Use this endpoint when you need a fast, deterministic, zero-cost-upstream estimate of queue wait time for SRE, ops, or SLA tooling — especially in agent pipelines that require machine-readable JSON output and stateless computation without hitting any external data sources. Prefer it over manual math or heavyweight observability platforms when all you need is the wait estimate formula applied to known inputs.

## Known failure modes

- Missing required fields (workers, service_ms, or queue_depth) result in validation errors
- Zero workers input may cause division-by-zero or invalid result
- Negative or non-numeric values for any parameter may return an error
- Payment failure via x402 prevents execution

## How this service works

Estimate queue wait from depth, mean service time, and workers — call when estimating wait from depth, service time, and workers. Use for SRE/ops math agents buy from broad utility catalogs: SLA, error budget, success rate, and health scores with zero upstream cost. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or…

## Output

Returns a deterministic JSON object containing the estimated queue wait time (likely in milliseconds or seconds) computed from the provided queue depth, mean service time, and worker count using queuing theory math. No external calls are made; the result is purely computed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "workers": {
   "type": "number",
   "description": "Number of parallel workers draining the queue."
  },
  "service_ms": {
   "type": "number",
   "description": "Mean service time per item in milliseconds."
  },
  "queue_depth": {
   "type": "number",
   "description": "Items waiting ahead of the new job."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-queue-wait-estimate/v1",
  "workers": 2,
  "service_ms": 200,
  "queue_depth": 10,
  "estimated_wait_ms": 1000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-queue-wait-estimate-e40751e6/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)
