{"uid":"cap_nIv-vG4rbgFwULXo0tg_d","slug":"travel-administration-daily-sum-series-trailing-mean-series-d39d570e","name":"Travel Administration — Daily Sum Series + Trailing Mean Series","description":"Travel administration — Daily sum series + Trailing mean series: Daily sum series + Trailing mean series for supplied travel administration records (trip_count, recorded_cost). 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-operations-14-136?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","trip_count","recorded_cost"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"trip_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"recorded_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","trip_count":10,"recorded_cost":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","trip_count":20,"recorded_cost":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","trip_count":15,"recorded_cost":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","trip_count":30,"recorded_cost":4}],"maxItems":200,"minItems":1},"field":{"enum":["trip_count","recorded_cost"],"type":"string","default":"trip_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_XevDTojdtxdimZE91CNY6","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 daily sum time series and a trailing moving average series for travel administration records (trip_count or recorded_cost) supplied by the caller.","exampleAgentPrompt":"Can you compute the daily sum series and trailing mean series (window of 7) for the recorded_cost field in my travel administration data? Here are my rows with dates, team groups, trip counts, and recorded costs for up to 200 records.","exampleUseCases":[{"title":"Corporate travel cost trend analysis","prompt":"I have 150 rows of corporate travel records with dates, team groups, trip counts, and costs. Can you calculate the daily total recorded_cost and a 7-day trailing moving average so I can see spending trends over time?"},{"title":"Trip volume smoothing by operations team","prompt":"I need a daily sum and trailing mean (window of 14) for the trip_count field across my travel administration records — here are the rows with date, team_group, trip_count, and recorded_cost for each entry."},{"title":"Monthly travel data rollup for finance review","prompt":"Can you run a daily aggregation and trailing mean with a window of 5 on my travel admin data? I want to analyze recorded_cost fluctuations across team groups for our finance team's monthly review."}],"resultDescription":"Returns two independent analytical report series: (1) a daily sum series showing the total of the selected field (trip_count or recorded_cost) aggregated by date, and (2) a trailing mean series showing the rolling window average of the same field over the specified window size. Both reports are computed from the caller-supplied rows (up to 200 records) using local analytical engines with no external data lookups.","failureModes":["Fewer than 1 row supplied — minimum 1 row required","More than 200 rows supplied — maxItems limit exceeded","Invalid date format (must be YYYY-MM-DD pattern)","Field value not in enum ['trip_count','recorded_cost'] — rejected","Window size below 2 or above 200 — out of range","row_id missing or empty string — required field","Null numeric values may affect aggregation output depending on implementation","Malformed row objects with extra properties rejected due to additionalProperties:false"],"whenToPreferThis":"Choose this endpoint when you have already-collected travel administration records (up to 200 rows) and need two standard time series reports — a daily sum and a trailing moving average — computed locally without any external data fetch, live pricing lookup, or professional assessment. It is ideal for lightweight batch analytics on corporate travel data where cost is a priority ($0.01 for both reports together) and no stateful storage or side effects are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:51:12.758Z","isFirstParty":false,"canonicalSlug":"travel-administration-daily-sum-series-trailing-mean-series-d39d570e"}