{"uid":"cap_HrOPi_L290BeSnM3xRfoG","slug":"customer-segment-observations-exact-row-deduplication-category-61b6d1c1","name":"Customer Segment Observations — Exact Row Deduplication + Category Frequencies","description":"Customer segment observations — Exact row deduplication + Category frequencies: Exact row deduplication + Category frequencies 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-041?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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}}},"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_jbHNHWOhstN_jlvo-RLw1","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 exact duplicate rows and computes category frequency distributions for customer segment observation records containing account count and revenue amount fields.","exampleAgentPrompt":"Can you deduplicate these customer segment records and tell me how frequently each company group appears? I have 4 rows: row-1 on 2026-10-01 for group-a with 10 accounts and $1 revenue, row-2 on 2026-10-02 for group-b with 20 accounts and $2 revenue, row-3 on 2026-10-03 for group-a with 15 accounts and $3 revenue, and row-4 on 2026-10-04 for group-b with 30 accounts and $4 revenue.","exampleUseCases":[{"title":"Deduplicating CRM export before analysis","prompt":"I exported customer segment data from our CRM and I think there are duplicate rows — can you run exact deduplication on these records and also show me how many times each company group shows up? Here are the rows: row-1, 2026-01-15, group-alpha, 50 accounts, $5000 revenue; row-2, 2026-01-15, group-alpha, 50 accounts, $5000 revenue; row-3, 2026-01-16, group-beta, 30 accounts, $3200 revenue."},{"title":"Segment frequency audit for quarterly report","prompt":"Before I finalize my quarterly report, can you tell me exactly how many records belong to each company group in this dataset and flag any perfectly duplicated rows? I have about 12 rows covering group-east, group-west, and group-central with various account counts and revenue amounts."},{"title":"Data pipeline quality check on ingested records","prompt":"Our data pipeline just ingested a batch of customer segment observations and I need to verify there are no exact duplicate rows and see the breakdown of how many entries each company group has — can you run both those checks on these 8 records?"}],"resultDescription":"Returns two reports: (1) an exact row deduplication report identifying which rows are exact duplicates and a deduplicated set of up to 200 customer segment observation records; (2) a category frequency report showing how often each unique value appears in categorical fields such as company_group and date across the supplied rows.","failureModes":["Empty rows array — minimum 1 row required","More than 200 rows submitted — exceeds maxItems limit","Invalid date format not matching YYYY-MM-DD pattern","Missing required fields (row_id, company_group, date, account_count, revenue_amount)","Numeric values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000)","row_id exceeding 80 character maxLength","Payment failure — 0.01 USDC required per call"],"whenToPreferThis":"Choose this endpoint when you need both exact duplicate detection and category frequency analysis on customer segment data (account_count, revenue_amount) in a single API call for up to 200 rows. It is ideal for data quality checks on CRM exports, pipeline ingestion validation, or pre-analysis cleaning where you want two bundled analytical reports at minimal cost. Prefer alternatives if you need fuzzy/near-duplicate detection, predictive modeling, or datasets larger than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:45:01.360Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-exact-row-deduplication-category-61b6d1c1"}