{"uid":"cap_rqnT_pYxDHV5JIm3HPpIQ","slug":"contract-renewal-inventories-daily-sum-series-trailing-mean-series-5ccdde62","name":"Contract Renewal Inventories — Daily Sum Series + Trailing Mean Series","description":"Contract renewal inventories — Daily sum series + Trailing mean series: Daily sum series + Trailing mean series for supplied contract renewal inventories records (expiring_contracts, renewed_contracts). 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-company-20-136?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","expiring_contracts","renewed_contracts"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"renewed_contracts":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"expiring_contracts":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","renewed_contracts":1,"expiring_contracts":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","renewed_contracts":2,"expiring_contracts":20},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","renewed_contracts":3,"expiring_contracts":15},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","renewed_contracts":4,"expiring_contracts":30}],"maxItems":200,"minItems":1},"field":{"enum":["expiring_contracts","renewed_contracts"],"type":"string","default":"expiring_contracts"},"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_Kja4ZsvAyfb52XSt2WptF","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 daily sum series and trailing mean series for supplied contract renewal inventory data (expiring and renewed contracts) across up to 200 rows.","exampleAgentPrompt":"Run a daily sum series and 7-day trailing mean analysis on my contract renewal data — I have rows with dates, company groups, expiring_contracts, and renewed_contracts fields — and compute the trailing mean on the expiring_contracts field.","exampleUseCases":[{"title":"Monthly renewal pipeline trend review","prompt":"I have 150 rows of contract renewal records with dates and company groups — can you compute the daily sum of expiring_contracts and a 10-day trailing mean so I can see how our renewal pipeline is trending this quarter?"},{"title":"Churn risk monitoring by group","prompt":"Take these contract renewal inventory rows and give me a daily sum series plus a 5-day trailing mean for the renewed_contracts field so I can spot which company groups are falling behind on renewals."},{"title":"Sales ops daily standup report","prompt":"Generate a daily sum series and a 14-day trailing mean for our expiring_contracts data across these 80 rows — I need both reports to share with the sales ops team in our standup today."}],"resultDescription":"Returns two independent analytical reports: (1) a daily sum series aggregating the selected field (expiring_contracts or renewed_contracts) by date across all supplied rows, and (2) a trailing mean series computed over the specified window size for the same field. Both reports are based purely on the supplied input data with no external lookups.","failureModes":["Fewer than 1 row supplied — rejected by minItems constraint","More than 200 rows supplied — exceeds maxItems limit","Invalid date format (not YYYY-MM-DD) — pattern validation failure","Window size less than 2 or greater than 200 — rejected by min/max constraint","Field value not one of 'expiring_contracts' or 'renewed_contracts' — enum validation failure","Numeric values outside ±1,000,000,000,000 range — rejected by min/max constraint","Missing required fields (row_id, company_group, date, expiring_contracts, renewed_contracts) — schema validation error"],"whenToPreferThis":"Choose this endpoint when you have tabular contract renewal records (expiring and renewed contracts) and need both a daily aggregated sum series and a rolling/trailing mean series in a single call. It is well-suited for SaaS or subscription businesses that track renewal pipelines by date and company group, need lightweight on-demand analytics without setting up a data warehouse, and want two complementary time series reports for the same dataset at minimal cost ($0.01 per call for up to 200 rows).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:30.564Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-daily-sum-series-trailing-mean-series-5ccdde62"}