{"uid":"cap_mGYp66v8ufGx6BuSnxbeh","slug":"record-routing-analytics-trailing-mean-series-equal-width-histogram-95182bfd","name":"Record Routing Analytics — Trailing Mean Series + Equal-Width Histogram","description":"Record routing — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram for supplied record routing records (accepted_records, rejected_records). 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-19-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","accepted_records","rejected_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"accepted_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"rejected_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","accepted_records":10,"rejected_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","accepted_records":20,"rejected_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","accepted_records":15,"rejected_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","accepted_records":30,"rejected_records":4}],"maxItems":200,"minItems":1},"field":{"enum":["accepted_records","rejected_records"],"type":"string","default":"accepted_records"},"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_pQ2z8WeQ-bSgU0UGj8RPC","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 accepted_records or rejected_records fields in record routing data, returning two independent statistical reports for up to 200 rows.","exampleAgentPrompt":"Run a trailing mean and histogram analysis on my record routing data — I have 4 rows of daily accepted and rejected record counts across two dataset groups, use a window of 2 and 5 bins, analyzing the accepted_records field.","exampleUseCases":[{"title":"ETL pipeline quality trend analysis","prompt":"I have daily record routing logs for the past month across three dataset groups — can you compute a trailing mean series with a window of 7 and a 10-bin histogram on the accepted_records field so I can spot quality trends?"},{"title":"Rejection spike distribution review","prompt":"We've been seeing spikes in rejected records lately. Can you run an equal-width histogram with 8 bins and a trailing mean with a window of 3 on the rejected_records field for the 50 rows I'm uploading, so I can see where the bulk of rejections are clustering?"},{"title":"Comparing routing performance across dataset groups","prompt":"I want to summarize routing performance across two dataset groups over the last quarter — please compute a trailing mean series and a 5-bin histogram on the accepted_records field for my 120-row dataset using a window of 5."}],"resultDescription":"Returns two statistical reports: (1) a trailing mean time series showing smoothed values of the chosen field (accepted_records or rejected_records) over the supplied date-ordered rows using the specified window size, and (2) an equal-width histogram with the specified number of bins summarizing the distribution of that field's values across all supplied rows.","failureModes":["Fewer than 1 or more than 200 rows submitted — request rejected","Window size larger than the number of rows provided — trailing mean may be undefined or empty","Invalid date format (not YYYY-MM-DD) — validation error","Bin count outside 1–30 range — request rejected","Null values in accepted_records or rejected_records — may be skipped or cause partial output","Unknown field value (not accepted_records or rejected_records) — validation error"],"whenToPreferThis":"Choose this endpoint when you need lightweight, local statistical summarization of record routing metrics — specifically a smoothed time series (trailing mean) and a frequency distribution (histogram) — without any external data lookup, prediction, or machine learning. It is ideal for small-to-medium datasets (up to 200 rows) where you want two complementary analytical views in a single low-cost call ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:13.678Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-trailing-mean-series-equal-width-histogram-95182bfd"}