{"uid":"cap_d0qbm8ukn_Fj5QxuIY1VL","slug":"sampling-observations-trailing-mean-series-equal-width-histogram-cfbc409c","name":"Sampling Observations — Trailing Mean Series + Equal-Width Histogram","description":"Sampling observations — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram for supplied sampling observations records (sample_value, sample_weight). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-analytics-15-148?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","sample_value","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"sample_value":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","sample_value":10,"dataset_group":"group-a","sample_weight":1},{"date":"2026-10-02","row_id":"row-2","sample_value":20,"dataset_group":"group-b","sample_weight":2},{"date":"2026-10-03","row_id":"row-3","sample_value":15,"dataset_group":"group-a","sample_weight":3},{"date":"2026-10-04","row_id":"row-4","sample_value":30,"dataset_group":"group-b","sample_weight":4}],"maxItems":200,"minItems":1},"field":{"enum":["sample_value","sample_weight"],"type":"string","default":"sample_value"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VIqcyLQ5LQiDYZpidEeYb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a trailing mean time series and an equal-width histogram for up to 200 supplied sampling observation records (sample_value, sample_weight).","exampleAgentPrompt":"I have 50 sampling observation rows with sample_value and sample_weight fields — can you run a trailing mean series with a window of 7 and an equal-width histogram with 10 bins on the sample_value field?","exampleUseCases":[{"title":"Quality control sampling trend analysis","prompt":"I have 120 quality control measurements collected daily over the past few months, each with a sample_value and a sample_weight. Can you compute a trailing mean series using a window of 5 and a histogram with 8 bins on the sample_value field so I can spot trends and outliers?"},{"title":"Survey response distribution summary","prompt":"I've got 80 survey response records with numerical scores as sample_value and respondent weights as sample_weight. Run a trailing mean with a window of 3 and a 6-bin histogram on sample_value so I can see both the trend and how scores are distributed."},{"title":"Environmental sensor data rolling average","prompt":"Here are 150 rows of environmental sensor readings with sample_value as the measured reading and sample_weight as the sensor confidence. Give me a trailing mean series using a window of 10 and a 5-bin equal-width histogram on sample_weight so I can understand the confidence distribution."}],"resultDescription":"Returns two independent analytical reports for the supplied observation rows: (1) a trailing mean series showing the rolling average of the selected field over the specified window, and (2) an equal-width histogram with the specified number of bins summarizing the distribution of values. Both reports operate solely on the supplied data with no external lookups.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Invalid date format not matching YYYY-MM-DD pattern","Window size outside range 2–200","Bins count outside range 1–30","sample_value or sample_weight values outside allowed range (-1e12 to 1e12)","Missing required row fields (row_id, dataset_group, date, sample_value, sample_weight)","All sample_value or sample_weight fields are null — histogram or mean series cannot be computed"],"whenToPreferThis":"Choose this endpoint when you need both a rolling/trailing mean time series AND a histogram distribution report computed together on the same set of up to 200 sampling observation records in a single call. It is ideal for offline/batch analytical workflows where data is already collected and you want local statistical summaries without any external data enrichment, prediction, or live lookups. Prefer it over general-purpose analytics when you need both reports at a fixed low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:46:42.218Z","isFirstParty":false,"canonicalSlug":"sampling-observations-trailing-mean-series-equal-width-histogram-cfbc409c"}