{"uid":"cap_50ana6qv52n2QMW6BGrWH","slug":"contract-renewal-inventories-category-frequencies-two-measure-28f9da16","name":"Contract Renewal Inventories — Category Frequencies & Two-Measure Correlation","description":"Contract renewal inventories — Category frequencies + Two-measure correlation: Category frequencies + Two-measure correlation 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-108?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}}},"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_MMIVQ_-RvAUfvxOY0wPJJ","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":"Analyzes up to 200 contract renewal records by computing category frequencies (by company group) and Pearson/rank correlation between expiring_contracts and renewed_contracts.","exampleAgentPrompt":"I have contract renewal data for two company groups — group-a and group-b — covering October 2026 with expiring and renewed contract counts per row. Can you run the category frequency breakdown by company group and also compute the correlation between expiring_contracts and renewed_contracts across all 4 rows?","exampleUseCases":[{"title":"Renewal rate correlation analysis","prompt":"I've got 150 rows of contract renewal records across several business units — each row has a date, a company group label, and counts for expiring and renewed contracts. Can you compute the correlation between how many contracts are expiring versus how many are actually renewed, and also show me how often each company group appears in the dataset?"},{"title":"Monthly group frequency audit","prompt":"Here's a table of our October contract renewal inventory — row IDs, company groups, and daily counts of expiring and renewed contracts. Please give me a frequency breakdown of how many records belong to each company group, and tell me if there's a meaningful correlation between the expiring and renewed figures."},{"title":"Sales ops contract pipeline stats","prompt":"Our sales ops team has 80 contract renewal records with company groups, dates, and both expiring and renewed contract counts. Run the two analytical reports — category frequency by company group and the two-measure correlation between expiring_contracts and renewed_contracts — so we can understand renewal efficiency."}],"resultDescription":"Returns two independent analytical reports: (1) a category frequency table showing how many records belong to each company_group value, and (2) a two-measure correlation report quantifying the statistical relationship between expiring_contracts and renewed_contracts across the supplied rows. Up to 200 rows are processed per call.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, date, company_group, expiring_contracts, renewed_contracts) cause validation errors","Invalid date format (not YYYY-MM-DD) triggers schema validation failure","Null or non-numeric values for both measures may reduce correlation reliability","Single-row input may produce undefined correlation (division by zero in std dev)"],"whenToPreferThis":"Choose this endpoint when you have tabular contract renewal records (up to 200 rows) with company group labels and two numeric measures (expiring and renewed counts), and need both a group-level frequency distribution and a pairwise correlation computed locally without any external data lookups, predictions, or professional assessments. Ideal for lightweight, privacy-safe batch analytics on structured inventory data at low cost ($0.01 per call for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:31.845Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-category-frequencies-two-measure-28f9da16"}