{"uid":"cap_JfOC5w0sYzNDN0HuSvq1A","slug":"contract-renewal-inventories-equal-width-histogram-two-measure-69fca96d","name":"Contract Renewal Inventories — Equal-Width Histogram + Two-Measure Correlation","description":"Contract renewal inventories — Equal-width histogram + Two-measure correlation: Equal-width histogram + 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-171?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_zpWufHVjNCjUhgoxh7Y5b","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 an equal-width histogram and a two-measure Pearson correlation on up to 200 rows of contract renewal inventory data (expiring_contracts, renewed_contracts) and returns both reports for a flat $0.01 USDC.","exampleAgentPrompt":"I have 120 rows of contract renewal data with expiring_contracts and renewed_contracts columns — can you run an equal-width histogram on expiring_contracts using 8 bins, plus a correlation between expiring_contracts and renewed_contracts, and give me both reports?","exampleUseCases":[{"title":"Monthly renewal pipeline distribution analysis","prompt":"I've got 90 rows of daily contract renewal data from last quarter with expiring_contracts and renewed_contracts — please bucket expiring_contracts into 10 equal-width bins and also tell me how correlated the two measures are."},{"title":"Multi-group renewal rate comparison","prompt":"Here are 150 contract records across our enterprise and SMB company groups, each with an expiring and renewed count — run a histogram with 5 bins on renewed_contracts and calculate the correlation between renewed_contracts and expiring_contracts so I can see if renewal rates follow expiry volumes."},{"title":"Year-end contract audit statistics","prompt":"We need to wrap up our year-end review — can you take these 200 contract renewal inventory rows and produce an equal-width histogram on expiring_contracts with 6 bins plus a two-measure correlation report for expiring_contracts and renewed_contracts?"}],"resultDescription":"Returns two independent analytical reports: (1) an equal-width histogram showing bin edges, counts, and frequencies for the chosen field (expiring_contracts or renewed_contracts) across the supplied rows, and (2) a two-measure correlation report (e.g. Pearson r) between expiring_contracts and renewed_contracts — both computed locally from the uploaded data, with no external lookups.","failureModes":["Exceeds 200-row limit — payload rejected","Invalid date format (not YYYY-MM-DD) causes row validation failure","Bin count outside 1–30 range returns schema validation error","Null values in both measure columns may produce undefined correlation","Empty rows array is rejected (minItems: 1)","Missing required fields (row_id, date, expiring_contracts, renewed_contracts) cause row-level errors","Payment failure via x402 prevents processing"],"whenToPreferThis":"Choose this endpoint when you have contract renewal tabular data (expiring and renewed counts) you want to analyze locally without any external data enrichment, live lookups, or prediction. It is ideal for getting two statistical reports — a histogram and a correlation — in a single inexpensive call ($0.01 USDC) on datasets up to 200 rows. Prefer it over generic analytics APIs when you need fast, deterministic, privacy-respecting computation on your own supplied rows with no side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:55:25.717Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-equal-width-histogram-two-measure-69fca96d"}