{"uid":"cap_ffsV_8rcgz1uLFi6CFN-E","slug":"delx-queue-wait-estimate-e40751e6","name":"Delx Queue Wait Estimate","description":"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…","url":"https://api.delx.ai/api/v1/x402/queue-wait-estimate","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-queue-wait-estimate/v1","workers":2,"service_ms":200,"queue_depth":10,"estimated_wait_ms":1000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MAclfMTKltY0x4-nYZ24h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates queue wait time given queue depth, mean service time per item, and number of parallel workers","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"SLA breach risk assessment","prompt":"We have a queue with 500 items backlogged, each item takes roughly 200ms to process, and we're running 10 workers — estimate the wait time so I can check if we're going to breach our 30-second SLA."},{"title":"Capacity planning for new workers","prompt":"If our queue depth is at 1000 items, mean service time is 80ms per item, and we currently have 5 workers, how long would a new job have to wait? I want to know if adding workers would bring us under our target."},{"title":"Real-time ops dashboard wait metric","prompt":"For our ops health dashboard, calculate the current estimated queue wait — we have 150 items queued, service time averages 50ms, and there are 4 parallel workers draining it."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:53:37.498Z","isFirstParty":false}