{"uid":"cap_9s2fIC9Vw9Fapocvjvs-h","slug":"signaldesk-ai-stats-histogram-6ffb39e4","name":"SignalDesk AI – Stats Histogram","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/stats/histogram?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","maximum":50,"minimum":1,"description":"Number of bins."},"values":{"type":"array","items":{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},"maxItems":1000,"minItems":1,"description":"Up to 1000 finite observations."}}},"responseSchema":{"type":"json","example":{"bins":[{"count":2,"lower":0,"upper":2,"upper_inclusive":false},{"count":3,"lower":2,"upper":4,"upper_inclusive":true}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GuzWl6Yq4pNVcUTQQUWyo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a frequency histogram over an array of numeric observations, returning binned counts with lower/upper bounds.","exampleAgentPrompt":"Can you build a histogram from these 50 reaction-time measurements — [12.3, 45.1, 33.7, ...] — split into 10 bins and show me how many values fall in each range?","exampleUseCases":[{"title":"Sensor reading distribution check","prompt":"I have 200 temperature readings from my IoT sensors ranging from -10 to 120 degrees. Can you bin them into 20 buckets and tell me how many readings fall in each range?"},{"title":"A/B test latency analysis","prompt":"Here are 500 API response-time samples from my A/B test — split them into 15 bins so I can see where latency clusters."},{"title":"Survey score frequency breakdown","prompt":"I've got a list of 300 customer satisfaction scores between 1 and 100 — can you divide them into 5 equal bins and show me how many scores land in each group?"}],"resultDescription":"Returns a JSON array of bin objects, each with a lower bound, upper bound, count of observations in that bin, and a flag indicating whether the upper bound is inclusive. Together the bins cover the full range of input values.","failureModes":["values array is empty or missing → 400 validation error","bins parameter outside 1–50 range → 400 validation error","more than 1000 values submitted → 400 validation error","values contain non-finite numbers (Infinity, NaN) → validation rejection","payment not included or insufficient → 402 Payment Required","worker cold-start or quota exhausted → 503 or timeout"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call histogram computation without standing up your own statistics library or data pipeline. It is ideal for ad-hoc distribution analysis on up to 1,000 observations where you want a quick binned view of data spread. Prefer a local library or heavier analytics service if you need weighted histograms, 2D histograms, >1,000 observations, or persistent storage of results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:02.630Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-stats-histogram-6ffb39e4"}