{"uid":"cap_3_JjBOhtRlRJyNDQm-jMU","slug":"contract-renewal-inventories-duplicate-key-report-trailing-mean-series-5216d8ae","name":"Contract Renewal Inventories — Duplicate Key Report + Trailing Mean Series","description":"Contract renewal inventories — Duplicate key report + Trailing mean series: Duplicate key report + 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-061?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_GoAdlYtcAPVZOfeThoLH2","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":"Runs two local analytical reports on supplied contract renewal data: a duplicate key detection report and a trailing mean time series for either expiring or renewed contracts.","exampleAgentPrompt":"Can you run a duplicate key check and a trailing mean series on my contract renewal data — I have rows with company_group, date, expiring_contracts, and renewed_contracts — use a rolling window of 3 and compute the trailing mean on the expiring_contracts field?","exampleUseCases":[{"title":"Data quality audit before CRM import","prompt":"Before I import this contract renewal spreadsheet into our CRM, can you check it for duplicate row IDs or repeated company-date combinations? Here are up to 150 rows with row_id, company_group, date, expiring_contracts, and renewed_contracts."},{"title":"Rolling trend analysis of expiring contracts","prompt":"I want to see a trailing mean of expiring_contracts over a 5-period window for my contract renewal inventory data — can you compute that series from these records grouped by company_group?"},{"title":"Renewal rate smoothing for executive dashboard","prompt":"Can you compute a rolling average of renewed_contracts with a window size of 4 for my dataset of contract renewal records, and also flag any duplicate row IDs in the same pass?"}],"resultDescription":"Two independent reports: (1) a duplicate key report listing any rows sharing the same key fields (e.g. row_id or company_group+date), and (2) a trailing mean time series computed over the chosen field (expiring_contracts or renewed_contracts) using the specified window size — both covering up to 200 input rows.","failureModes":["Fewer than 1 row supplied — request rejected by schema validation","Window size exceeds number of rows — trailing mean may return nulls or partial values","Malformed date strings not matching YYYY-MM-DD pattern — schema validation error","Numeric values outside allowed range (±1 trillion) — schema rejection","More than 200 rows submitted — request exceeds maximum row limit"],"whenToPreferThis":"Choose this endpoint when you need quick, offline analytical reports on small-to-medium contract renewal datasets (up to 200 rows) without any external data lookup or prediction. It is ideal for data quality checks (duplicate detection) combined with time-series smoothing (trailing mean) in a single low-cost call. Prefer it over heavier analytics platforms when you just need lightweight, reproducible local computation on structured tabular renewal data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:49:00.276Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-duplicate-key-report-trailing-mean-series-5216d8ae"}