{"uid":"cap_O5MBnaX4ltHOmEIkt0nOy","slug":"dataset-partition-sizes-trailing-mean-series-equal-width-histogram-8790d836","name":"Dataset Partition Sizes — Trailing Mean Series + Equal-Width Histogram","description":"Dataset partition sizes — Trailing mean series + Equal-width histogram: Trailing mean series + Equal-width histogram for supplied dataset partition sizes records (row_count, file_mb). 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-07-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","row_count","file_mb"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"file_mb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","file_mb":1,"row_count":10,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","file_mb":2,"row_count":20,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","file_mb":3,"row_count":15,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","file_mb":4,"row_count":30,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["row_count","file_mb"],"type":"string","default":"row_count"},"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_8D4IlZhPoFGdJgNkm05hQ","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 dataset partition size records (row_count or file_mb), returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"For my dataset partitions below, run a trailing mean series and an equal-width histogram on the row_count field using a window of 3 and 5 bins — here are my records: row-1 on 2025-01-01 in group-a with 1000 rows and 50 MB, row-2 on 2025-01-02 in group-b with 2000 rows and 80 MB, row-3 on 2025-01-03 in group-a with 1500 rows and 60 MB.","exampleUseCases":[{"title":"Monitor partition growth over time","prompt":"I have 30 dataset partitions recorded daily over the past month with their row counts and file sizes. Can you run a trailing mean series on the file_mb field with a window of 5 to see how my dataset sizes are trending? Here's the data: partition IDs, dates, groups, row counts, and file sizes."},{"title":"Audit data distribution before pipeline optimization","prompt":"Before I optimize my ETL pipeline, I want to understand how my dataset partition sizes are distributed. Can you build a 10-bin equal-width histogram on the row_count field for my 120 partition records so I can spot any outliers or skew?"},{"title":"Compare rolling averages across dataset groups","prompt":"I have two dataset groups — 'warehouse' and 'staging' — with 50 records each. Can you compute a trailing mean with window size 4 and a 5-bin histogram on the file_mb field so I can compare size trends across both groups?"}],"resultDescription":"Returns two independent analytical reports: (1) a trailing mean time series showing the rolling average of the selected field (row_count or file_mb) over the specified window, and (2) an equal-width histogram showing the frequency distribution of values across the specified number of bins. Both reports are computed locally from the supplied data without any external lookup.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Invalid date format (not YYYY-MM-DD) causes row validation failure","Window size larger than the number of rows results in insufficient data for trailing mean","Bin count outside the 1–30 range is rejected","Null values in row_count or file_mb may affect mean and histogram computations","Field value not in enum ['row_count','file_mb'] causes a validation error","Payment of 0.01 USDC not provided or declined causes 402 response"],"whenToPreferThis":"Choose this endpoint when you have a list of dataset partition records (with row counts and/or file sizes) and need both a rolling average trend and a distribution histogram in a single call. It is ideal for data engineers and analysts who want lightweight, self-contained statistical summaries without spinning up a full analytics stack. Prefer it over general-purpose analytics APIs when working with partition-level storage metadata and needing two complementary views (trend + distribution) for up to 200 records at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T00:56:13.687Z","isFirstParty":false,"canonicalSlug":"dataset-partition-sizes-trailing-mean-series-equal-width-histogram-8790d836"}