{"uid":"cap_uc-xhI8dyPJYdcq9azZMx","slug":"data-reconciliation-trailing-mean-series-date-by-category-pivot-401067d3","name":"Data Reconciliation — Trailing Mean Series + Date by Category Pivot","description":"Data reconciliation — Trailing mean series + Date by category pivot: Trailing mean series + Date by category pivot for supplied data reconciliation records (source_total, target_total). 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-11-152?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","source_total","target_total"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_total":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"target_total":{"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","source_total":10,"target_total":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","source_total":20,"target_total":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","source_total":15,"target_total":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","source_total":30,"target_total":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_total","target_total"],"type":"string","default":"source_total"},"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_fWkI1mqyIUNRmQsiegAl7","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 date-by-category pivot table for supplied source/target reconciliation data, returning two analytical reports in one call.","exampleAgentPrompt":"Run a trailing mean series and date-by-category pivot on my reconciliation data — use source_total as the field with a window of 3, and here are my rows: row-1 on 2026-10-01, group-a, source 10, target 1; row-2 on 2026-10-02, group-b, source 20, target 2; row-3 on 2026-10-03, group-a, source 15, target 3.","exampleUseCases":[{"title":"Rolling average on financial reconciliation","prompt":"I have daily source and target totals across two dataset groups for Q4 — can you compute a trailing mean with a window of 5 for source_total and also pivot the data by date and category so I can spot where the groups diverge?"},{"title":"Detecting target drift over time","prompt":"Run a trailing mean series with window 4 on target_total for these reconciliation records across groups alpha and beta, and also give me the date-by-category pivot — I want to see if target is consistently lagging source."},{"title":"Month-end reconciliation summary for audit","prompt":"I need two reports on my month-end reconciliation rows: a rolling 7-day mean for source_total and a pivot of totals by date and dataset group — here are up to 150 rows of source and target figures."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean time series showing rolling window averages for the selected field (source_total or target_total) across the supplied rows, and (2) a date-by-category pivot table summarizing totals grouped by date and dataset_group. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Fewer than 1 row supplied — minimum row count not met","More than 200 rows submitted — exceeds maximum item limit","Invalid date format — dates must match YYYY-MM-DD pattern","Window size less than 2 or greater than 200 — out of allowed range","source_total or target_total values outside ±1,000,000,000,000 — validation error","Missing required fields (row_id, dataset_group, date, source_total, target_total) on any row","Invalid field enum value — must be 'source_total' or 'target_total'"],"whenToPreferThis":"Choose this endpoint when you need both a rolling/trailing mean time series AND a date-by-category pivot computed together in a single low-cost call on user-supplied reconciliation data (up to 200 rows). It is purpose-built for source vs. target data reconciliation analytics and requires no external data sources. Prefer it over general-purpose analytics tools when you have structured rows with dataset_group, date, source_total, and target_total and want two complementary statistical views simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:46:41.441Z","isFirstParty":false,"canonicalSlug":"data-reconciliation-trailing-mean-series-date-by-category-pivot-401067d3"}