{"uid":"cap_MjHOV5Z5j_xK65MbYILeI","slug":"contract-renewal-inventories-duplicate-key-report-equal-width-histogram-e660645f","name":"Contract Renewal Inventories — Duplicate Key Report + Equal-Width Histogram","description":"Contract renewal inventories — Duplicate key report + Equal-width histogram: Duplicate key report + Equal-width histogram 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-064?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_bsBRpe7jiP4IMo9MHHz_m","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 rows of contract renewal inventory data to produce a duplicate key report and an equal-width histogram for a chosen numeric field.","exampleAgentPrompt":"Check my contract renewal data for duplicate row IDs and also give me a 10-bin equal-width histogram on the expiring_contracts field — here are the rows: row-1, group-a, 2026-10-01, 10 expiring, 1 renewed; row-2, group-b, 2026-10-02, 20 expiring, 2 renewed; row-3, group-a, 2026-10-03, 15 expiring, 3 renewed.","exampleUseCases":[{"title":"Auditing renewal data for duplicate IDs","prompt":"I've got 150 rows of contract renewal records and I need to know if any row IDs are duplicated before I process them — can you run a duplicate key report on the expiring_contracts field with 5 bins as well?"},{"title":"Distribution analysis of expiring contracts","prompt":"Can you generate a 10-bin equal-width histogram for the expiring_contracts values in my renewal inventory dataset? I have about 80 rows across two company groups and want to see the distribution."},{"title":"Monthly renewal audit for finance team","prompt":"Run a duplicate key check plus a histogram with 8 bins on the renewed_contracts field for our monthly contract renewal batch — I'll paste in the 200 rows of data now."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any row_ids that appear more than once in the supplied data, and (2) an equal-width histogram for the selected numeric field (expiring_contracts or renewed_contracts) broken into the specified number of bins (1–30), showing counts per bin. No external data is fetched; all computation uses local analytical engines on the supplied rows.","failureModes":["Exceeding 200 rows causes rejection","Missing required fields (row_id, company_group, date, expiring_contracts, renewed_contracts) cause validation errors","Invalid date format (not YYYY-MM-DD) triggers schema error","bins value outside 1–30 range is rejected","Null numeric values in the selected histogram field may produce incomplete bin coverage","Empty rows array is rejected"],"whenToPreferThis":"Choose this endpoint when you need simultaneous duplicate-key detection and a numeric distribution histogram on contract renewal inventory data (expiring_contracts or renewed_contracts) in a single call, without requiring live database lookups or external integrations. It is well-suited for pre-processing data quality checks and quick statistical summaries on batches of 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:00.643Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-duplicate-key-report-equal-width-histogram-e660645f"}