x402
utility

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 media generation. Results are advisory; the caller owns authorization and production controls.

post/api/v1/x402/queue-wait-estimate

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/queue-wait-estimate
  • Auth: none declared

Request body

queue_depthnumber required

Items waiting ahead of the new job.

service_msnumber required

Mean service time per item in milliseconds.

workersnumber

Number of parallel workers draining the queue.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
queue_depthnumber
service_msnumber
workersinteger
estimated_wait_msnumber

Changes

No recorded changes to this operation across all 1 revision of this API.