{"uid":"cap_dxG7mxxfutylvXpJsAfoY","slug":"file-ingestion-trailing-mean-series-62443260","name":"File Ingestion Trailing Mean Series","description":"File ingestion - Trailing mean series: Trailing mean series for File ingestion. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded trailing mean series report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-file-ingestion-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","source","date","loaded_bytes","parse_errors"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source":{"type":"string","default":"","maxLength":80},"loaded_bytes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"parse_errors":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","source":"group-a","loaded_bytes":10,"parse_errors":1},{"date":"2026-10-02","row_id":"row-2","source":"group-b","loaded_bytes":20,"parse_errors":2},{"date":"2026-10-03","row_id":"row-3","source":"group-a","loaded_bytes":15,"parse_errors":3},{"date":"2026-10-04","row_id":"row-4","source":"group-b","loaded_bytes":30,"parse_errors":4}],"maxItems":200,"minItems":1},"field":{"enum":["loaded_bytes","parse_errors"],"type":"string","default":"loaded_bytes"},"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_EF6dsDof6ld6ttMJI8EuX","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 (rolling) mean series over loaded_bytes or parse_errors for up to 200 file ingestion records, returning local descriptive analytics with no enrichment or forecasting.","exampleAgentPrompt":"Calculate the trailing mean series for loaded_bytes across these file ingestion records using a window of 3, grouping by source — I have 10 rows dated from 2026-10-01 onward with sources group-a and group-b.","exampleUseCases":[{"title":"Smoothing daily file load volumes","prompt":"I have 30 days of file ingestion records with daily loaded_bytes per source. Can you run a trailing mean with a window of 7 so I can see the smoothed weekly trend in how many bytes we're loading each day?"},{"title":"Monitoring parse error trends","prompt":"We've been tracking parse_errors across our ingestion pipeline for the last 60 records. Run a rolling average with a window of 5 on the parse_errors field so I can spot whether errors are trending up or down."},{"title":"Comparing ingestion performance across sources","prompt":"Here are 100 ingestion records split between source group-a and group-b with loaded_bytes per row. Compute a trailing mean series using a window of 10 on loaded_bytes so I can compare the smoothed throughput between the two groups."}],"resultDescription":"A trailing mean series report containing rolling average values for the selected field (loaded_bytes or parse_errors) computed over the specified window size across the supplied records. Output is bounded descriptive analytics with no external enrichment or forecasting — one report per call.","failureModes":["Fewer than 1 row supplied — minimum 1 record required","More than 200 rows supplied — maximum limit exceeded","Window size larger than the number of supplied rows — insufficient data points for the specified window","Invalid date format not matching YYYY-MM-DD pattern","Missing required fields (row_id, source, date, loaded_bytes, parse_errors) on any row","Field value not one of the allowed enum values (loaded_bytes, parse_errors)","Null numeric values where computation is expected — may produce NaN or skipped averages"],"whenToPreferThis":"Choose this endpoint when you have a batch of up to 200 file ingestion records and need a simple, local trailing mean computation on loaded_bytes or parse_errors without any external data enrichment, forecasting, or third-party lookups. It is ideal for lightweight pipeline monitoring, smoothing noisy ingestion metrics, or producing a rolling average time series report at minimal cost ($0.01 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:57.340Z","isFirstParty":false,"canonicalSlug":"file-ingestion-trailing-mean-series-62443260"}