{"uid":"cap_tbzdb0QMlaPAHumqZC17d","slug":"delx-commerce-saturation-ratio-calculator-b14c4d85","name":"Delx Commerce — Saturation Ratio Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/saturation-ratio?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"capacity":{"type":"number","description":"Maximum concurrent capacity."},"in_flight":{"type":"number","description":"Current in-flight work units."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-saturation-ratio/v1","capacity":10,"in_flight":9,"saturated":false,"saturation_ratio":0.9}},"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_fm4loXrYUtskmEde24_TP","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":"Computes the saturation ratio of a system by dividing current in-flight work units by maximum capacity, returning a normalized load metric.","exampleAgentPrompt":"I have a worker pool with a max capacity of 10 and currently 9 jobs in flight — can you calculate the saturation ratio and tell me if the system is saturated?","exampleUseCases":[{"title":"Agent fleet load check","prompt":"My AI agent fleet has a max concurrency of 50 and right now 43 tasks are in flight — calculate the saturation ratio so I know how close we are to hitting the limit."},{"title":"Task queue overload detection","prompt":"My task queue can handle 100 concurrent jobs and currently has 98 running — is the queue saturated, and what's the exact saturation ratio?"},{"title":"Autoscale trigger evaluation","prompt":"I want to decide whether to spin up more workers: my system capacity is 20 and there are 17 in-flight units right now — what's the saturation ratio?"}],"resultDescription":"Returns a JSON object with the schema identifier 'delx/util-saturation-ratio/v1', the original capacity and in_flight values, a boolean 'saturated' flag, and a floating-point 'saturation_ratio' between 0 and 1 representing the fraction of capacity currently in use.","failureModes":["Missing or non-numeric 'capacity' or 'in_flight' fields result in a validation error","Zero capacity value may cause division-by-zero or undefined ratio","Payment failure via x402 protocol returns 402 with pricing details","in_flight exceeding capacity may return a ratio above 1.0 depending on implementation","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.003 USDC), pay-per-call computation of system saturation without standing up your own arithmetic logic — especially in agent pipelines where verifiable, on-chain micropayment delivery is required. Ideal for stateless load checks inside agentic workflows on Base or Solana via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:58:03.287Z","isFirstParty":false,"canonicalSlug":"delx-commerce-saturation-ratio-calculator-b14c4d85"}