{"uid":"cap_pLonXLlk5xpZ9ahtz3pAh","slug":"contract-renewal-inventories-adjacent-row-changes-secondary-measure-cfdd8ddd","name":"Contract Renewal Inventories — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Contract renewal inventories — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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-159?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"}}},"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_KI6l7ONt7VblSRiyzGfpg","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 adjacent row changes and secondary-measure weighted mean analytics on supplied contract renewal inventory records (expiring_contracts, renewed_contracts) for up to 200 rows.","exampleAgentPrompt":"Run adjacent row changes and secondary-measure weighted mean analysis on my contract renewal inventory data — I have rows for group-a and group-b from 2026-10-01 to 2026-10-04, with expiring_contracts values of 10, 20, 15, 30 and renewed_contracts of 1, 2, 3, 4, and I want the primary field set to expiring_contracts.","exampleUseCases":[{"title":"Monthly contract churn trend analysis","prompt":"I have 60 rows of monthly contract renewal data per company group with dates, expiring counts, and renewed counts — can you run adjacent row changes and weighted mean analysis on it so I can see the churn trend over time? Use expiring_contracts as the primary field."},{"title":"Comparing renewal rates across business groups","prompt":"I need to compare contract renewal rates across our two business groups over the last quarter — here are 90 rows with row IDs, dates, group names, expiring_contracts, and renewed_contracts. Run the adjacent row changes and secondary-measure weighted mean reports with renewed_contracts as the field."},{"title":"End-of-year contract inventory statistical summary","prompt":"Can you analyze this dataset of 150 contract renewal records from our year-end inventory? Each row has a row_id, company_group, date, expiring_contracts, and renewed_contracts — I need both the adjacent row changes and the weighted mean report, focusing on expiring_contracts."}],"resultDescription":"Two independent analytical reports for the supplied dataset (up to 200 rows): (1) adjacent row changes showing period-over-period deltas for the selected measure, and (2) a secondary-measure weighted mean summarizing the dataset. Results are computed locally using shared analytical engines with no external lookups or predictions.","failureModes":["Rows array exceeds 200 items — returns error or truncates","Missing required fields (row_id, date, expiring_contracts, renewed_contracts) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Null values in numeric fields may affect weighted mean calculation","Payment of 0.01 USDC not provided — request rejected","Invalid 'field' enum value — schema validation error"],"whenToPreferThis":"Choose this endpoint when you need fast, local statistical analysis on a batch of contract renewal inventory records and specifically want both adjacent row change deltas and a weighted mean computation in a single call. It is ideal when you have up to 200 pre-collected rows and do not need live lookups, predictions, or external data enrichment. Prefer it over general-purpose analytics tools when working within the x402 micropayment ecosystem at low cost ($0.01 USDC for two reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:38.909Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-adjacent-row-changes-secondary-measure-cfdd8ddd"}