{"uid":"cap_tS8v1a9ckbtNosv3wgUfO","slug":"contract-renewal-inventories-equal-width-histogram-date-by-category-37d9db8c","name":"Contract Renewal Inventories — Equal-Width Histogram + Date by Category Pivot","description":"Contract renewal inventories — Equal-width histogram + Date by category pivot: Equal-width histogram + Date by category pivot 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-173?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_XkHDDhUE3-c6mo7RBY61-","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":"Generates two analytical reports (equal-width histogram and date-by-category pivot) for contract renewal inventory data (expiring and renewed contracts) supplied by the caller.","exampleAgentPrompt":"I have 50 rows of contract renewal data for two company groups — Alpha and Beta — with dates, expiring_contracts, and renewed_contracts values. Can you generate an equal-width histogram (10 bins) on the expiring_contracts field plus a date-by-category pivot for all the records?","exampleUseCases":[{"title":"Contract expiration distribution analysis","prompt":"Here are 120 rows of contract inventory records across three company groups with dates and expiring contract counts — can you run an equal-width histogram with 8 bins on expiring_contracts and also give me a pivot of the data broken down by date and company group?"},{"title":"Renewal rate pivot for quarterly review","prompt":"I've got contract renewal data for our Q3 review — about 80 rows with company_group, date, expiring_contracts, and renewed_contracts columns. Please generate a histogram on renewed_contracts using 5 bins and a date-by-category pivot so I can see renewal patterns by group."},{"title":"Multi-group contract inventory breakdown","prompt":"Can you analyze this set of 30 contract records for groups East and West? I need an equal-width histogram with 6 bins on the expiring_contracts field and a pivot table showing totals by date and company group."}],"resultDescription":"Two independent analytical reports: (1) an equal-width histogram showing bin ranges and counts for the selected numeric field (expiring_contracts or renewed_contracts), and (2) a date-by-category pivot table aggregating contract values by date and company_group — both computed locally from the supplied rows, up to 200 rows.","failureModes":["Exceeds 200-row limit — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Missing required fields (row_id, company_group, date, expiring_contracts, renewed_contracts) — schema error","bins value outside 1–30 range — validation error","Numeric values outside ±1,000,000,000,000 — rejected","Empty rows array — error"],"whenToPreferThis":"Choose this endpoint when you need quick, local (no external data fetch) analytical summaries of contract renewal inventory data — specifically when you want both a histogram distribution view and a date-category pivot in a single call for up to 200 rows, at low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:07.560Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-equal-width-histogram-date-by-category-37d9db8c"}