x402
utility

Cap desired worker concurrency against a hard limit and queue depth signal — call when clamping desired parallelism against a hard worker limit. Use before side effects when composing multi-step agent jobs—the same loyalty/workflow demand band agents already pay for on Bazaar, but fully local. 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/concurrency-cap

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/concurrency-cap
  • Auth: none declared

Request body

desired_workersnumber required

Requested concurrent workers.

hard_capnumber required

Maximum allowed concurrent workers.

queue_depthnumber

Current queue depth used as a saturation signal (non-negative).

Response

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

schemastring
desired_workersinteger
hard_capinteger
effective_workersinteger
queue_depthinteger
saturatedboolean

Changes

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