{"uid":"cap_UF2v9RYTWaEU8S2aCuln7","slug":"schema-conformity-trailing-mean-series-equal-width-histogram-56571a80","name":"Schema Conformity — Trailing Mean Series + Equal-Width Histogram","description":"Schema conformity — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram for supplied schema conformity records (valid_records, checked_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-02-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","valid_records","checked_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},"valid_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"checked_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","valid_records":10,"checked_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","valid_records":20,"checked_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","valid_records":15,"checked_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","valid_records":30,"checked_records":4}],"maxItems":200,"minItems":1},"field":{"enum":["valid_records","checked_records"],"type":"string","default":"valid_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_DP1H5OZ_5u91OZnn2XTnE","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 moving-average time series and an equal-width frequency histogram for schema conformity metrics (valid_records and checked_records) from up to 200 supplied rows.","exampleAgentPrompt":"Analyze my schema conformity data using a trailing mean window of 5 and a 10-bin equal-width histogram on the valid_records field — here are my rows: [{\"date\":\"2025-01-01\",\"row_id\":\"r1\",\"dataset_group\":\"groupA\",\"valid_records\":95,\"checked_records\":100},{\"date\":\"2025-01-02\",\"row_id\":\"r2\",\"dataset_group\":\"groupA\",\"valid_records\":88,\"checked_records\":100}].","exampleUseCases":[{"title":"Data quality trend monitoring","prompt":"Run a trailing mean series with a window of 7 and a 10-bin histogram on valid_records for my schema conformity logs — I have about 150 rows covering the past quarter for dataset group 'invoices'."},{"title":"Detecting skew in checked records","prompt":"I want to see the frequency distribution and rolling average for checked_records across my 80 conformity records, using a window of 3 and 8 histogram bins — can you run both reports at once?"},{"title":"Pipeline validation reporting","prompt":"Generate a trailing mean and equal-width histogram (5 bins, window of 4) for the valid_records field from my ETL pipeline's daily schema conformity snapshots — I'll send you the 60-row dataset."}],"resultDescription":"Returns two analytical reports: (1) a trailing moving-average time series showing smoothed values of the selected field (valid_records or checked_records) over the ordered date sequence using the specified window size, and (2) an equal-width histogram with configurable bins showing the frequency distribution of the selected field's values across all supplied rows.","failureModes":["Fewer than 1 row supplied — request rejected","Window size exceeds number of rows — trailing mean cannot be computed","Invalid date format (not YYYY-MM-DD) — row rejected","Bins parameter outside 1–30 range — validation error","More than 200 rows submitted — excess rows rejected","Null values in valid_records or checked_records may reduce effective row count for computation","Missing required fields (row_id, dataset_group, date) — row or request rejected"],"whenToPreferThis":"Choose this endpoint when you need both a rolling/trailing mean time series AND a histogram distribution report for schema conformity metrics in a single low-cost call. It is ideal for data quality monitoring pipelines that need offline/local analytical computation on supplied data without any external lookups or predictions. Best suited for up to 200 rows of date-stamped conformity records grouped by dataset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:13.063Z","isFirstParty":false,"canonicalSlug":"schema-conformity-trailing-mean-series-equal-width-histogram-56571a80"}