{"uid":"cap_UYezJkyrJn-DxY67PEoWi","slug":"delx-latency-summary-738020e8","name":"Delx Latency Summary","description":"Calculate p50, p95, p99, mean, min, and max from bounded latency samples. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.","url":"https://api.delx.ai/api/v1/x402/latency-summary","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"latencies_ms":{"type":"array","items":{"type":"number","minimum":0},"maxItems":10000,"minItems":1}}},"responseSchema":{"type":"json","example":{"count":5,"max_ms":55,"min_ms":12,"p50_ms":22,"p95_ms":50.2,"p99_ms":54.04,"schema":"delx/latency-summary/v1","mean_ms":27.6}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oJpuB905-P0gqrfYP2H5-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes p50, p95, p99, mean, min, and max latency statistics from an array of millisecond samples","exampleAgentPrompt":"Can you compute the p50, p95, and p99 latency summary for these response times in milliseconds: [120, 135, 98, 200, 310, 145, 88, 175, 420, 102]?","exampleUseCases":[{"title":"Pre-retry reliability check","prompt":"Before retrying that flaky downstream service, compute the latency summary for these 50 measured response times so I can decide whether p99 is within our 500ms SLA threshold."},{"title":"Autonomous workflow preflight gate","prompt":"Run a latency summary on these 200 timing samples from the last 10 minutes — I need the p95 and p99 before the agent decides whether to proceed with the batch job or back off."},{"title":"Production API performance report","prompt":"Here are 1000 API response times in milliseconds from today's traffic — calculate the full latency summary including p50, p95, p99, mean, min, and max so I can report on production reliability."}],"resultDescription":"Returns a machine-readable JSON object containing p50, p95, p99, mean, min, and max computed from the submitted latency array; computation is deterministic and local with no upstream calls. Structured validation failures are returned without charge.","failureModes":["Array contains fewer than 1 item — validation error returned, not billed","Array exceeds 10,000 items — validation error returned","Non-numeric or negative values in the array — schema validation failure","Malformed JSON body — 400-class error","Payment not provided or insufficient — 402 response via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, local latency percentile computation (p50/p95/p99) without any third-party data dependency. Ideal as a preflight check in autonomous workflows before retrying requests, changing API behavior, or evaluating production reliability. Prefer it over rolling your own stats logic when you need structured, machine-readable output at minimal cost ($0.002 USDC) with guaranteed no upstream calls and no state side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:57:15.534Z","isFirstParty":false}