{"uid":"cap_K-kV5yRimGFM28pHkQ3wz","slug":"customer-segment-observations-exact-row-deduplication-equal-width-f3cf5c4d","name":"Customer Segment Observations — Exact Row Deduplication + Equal-Width Histogram","description":"Customer segment observations — Exact row deduplication + Equal-width histogram: Exact row deduplication + Equal-width histogram for supplied customer segment observations records (account_count, revenue_amount). 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-16-048?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","account_count","revenue_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"account_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"company_group":{"type":"string","default":"","maxLength":80},"revenue_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","account_count":10,"company_group":"group-a","revenue_amount":1},{"date":"2026-10-02","row_id":"row-2","account_count":20,"company_group":"group-b","revenue_amount":2},{"date":"2026-10-03","row_id":"row-3","account_count":15,"company_group":"group-a","revenue_amount":3},{"date":"2026-10-04","row_id":"row-4","account_count":30,"company_group":"group-b","revenue_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["account_count","revenue_amount"],"type":"string","default":"account_count"}}},"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_9WPOGvyJiJQ5q4aWUYKBp","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":"Deduplicates customer segment observation rows and computes an equal-width histogram over account_count or revenue_amount fields, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Take these customer segment records (up to 200 rows with row_id, company_group, date, account_count, and revenue_amount), deduplicate them, and give me an equal-width histogram of account_count using 10 bins.","exampleUseCases":[{"title":"Revenue distribution across company groups","prompt":"I have 150 rows of customer segment data with company_group, date, and revenue_amount — can you deduplicate them and show me a histogram of revenue_amount split into 8 equal-width bins?"},{"title":"Account count frequency analysis","prompt":"Here are our segment observations for Q4 with account_count values — please remove any duplicate rows and give me a 5-bin equal-width histogram so I can see how accounts are distributed."},{"title":"Data quality check before reporting","prompt":"Before I finalize our segment report, can you deduplicate these 200 customer segment records and produce a histogram of account_count with 10 bins to check for any outlier buckets?"}],"resultDescription":"Returns two reports: (1) the deduplicated set of customer segment rows with exact duplicate rows removed, and (2) an equal-width histogram for the chosen field (account_count or revenue_amount) showing bin boundaries and row counts per bin, computed across the deduplicated data.","failureModes":["Exceeds 200-row limit — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","bin count outside 1–30 range — validation error","Missing required fields (row_id, company_group, date) — schema error","All rows are duplicates — histogram computed on empty or minimal set","Null values in the histogram field — nulls excluded from binning"],"whenToPreferThis":"Choose this endpoint when you have raw customer segment tabular data (account_count, revenue_amount) that may contain duplicates and you need both a clean dataset and a frequency distribution report in a single call. It is ideal for pre-reporting data quality passes, exploratory distribution analysis, or segment-level summaries where you want binned histograms without writing custom analytics code. Best suited for datasets up to 200 rows; not appropriate for live data lookups, predictions, or large-scale ETL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:54.281Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-exact-row-deduplication-equal-width-f3cf5c4d"}