{"uid":"cap_Y_rtEZND91YcW9qjdhM-i","slug":"data-ingestion-batches-trailing-mean-series-secondary-measure-e039abde","name":"Data Ingestion Batches — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Data ingestion batches — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied data ingestion batches records (received_rows, accepted_rows). 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-01-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","received_rows","accepted_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"accepted_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"received_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","accepted_rows":1,"dataset_group":"group-a","received_rows":10},{"date":"2026-10-02","row_id":"row-2","accepted_rows":2,"dataset_group":"group-b","received_rows":20},{"date":"2026-10-03","row_id":"row-3","accepted_rows":3,"dataset_group":"group-a","received_rows":15},{"date":"2026-10-04","row_id":"row-4","accepted_rows":4,"dataset_group":"group-b","received_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["received_rows","accepted_rows"],"type":"string","default":"received_rows"},"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_7ghMXsHH_clA8RiTUHT4e","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 a secondary-measure weighted mean for up to 200 data ingestion batch records (received_rows, accepted_rows) using local analytical engines.","exampleAgentPrompt":"Can you compute a trailing mean series with a window of 3 for the received_rows field in these ingestion batch records, and also give me the secondary-measure weighted mean using accepted_rows? I have 5 rows of data for group-alpha dated from 2025-01-01 to 2025-01-05.","exampleUseCases":[{"title":"Monitor daily ETL batch acceptance trends","prompt":"I have 30 daily data ingestion batch records across two dataset groups — can you run a trailing mean series with a window size of 7 on received_rows and also compute the accepted_rows weighted mean so I can see how our acceptance rate is trending?"},{"title":"Smooth noisy ingestion row counts for reporting","prompt":"Our ingestion pipeline data is pretty noisy day-to-day. Can you calculate a trailing mean series with window 5 on the received_rows field for these 60 batch records and give me the weighted mean for accepted_rows so I can present smoother numbers in our weekly report?"},{"title":"Compare two ingestion groups over a quarter","prompt":"I have 90 batch ingestion records spanning two dataset groups over the last quarter. Can you compute a trailing mean series for accepted_rows using a window of 10 and the secondary weighted mean so I can compare throughput quality between the groups?"}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series over the specified rolling window for the chosen primary field (received_rows or accepted_rows), and (2) a secondary-measure weighted mean across the supplied batch records — all computed locally without external data lookups, covering up to 200 input rows.","failureModes":["Missing required fields (row_id, dataset_group, date, received_rows, accepted_rows) cause validation errors","Date strings not matching YYYY-MM-DD pattern are rejected","Window size outside 2–200 range causes rejection","More than 200 rows submitted exceeds the maximum and is rejected","Null numeric values may affect weighted mean computation depending on handling","Payment failure (insufficient USDC) prevents execution"],"whenToPreferThis":"Choose this endpoint when you need two complementary statistical views — a rolling/trailing mean time series and a weighted mean — on data ingestion batch records (received_rows, accepted_rows) without requiring any external data sources or live lookups. Ideal for data engineers and pipeline analysts who want lightweight, self-contained batch analytics on up to 200 records at very low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:47:00.513Z","isFirstParty":false,"canonicalSlug":"data-ingestion-batches-trailing-mean-series-secondary-measure-e039abde"}