{"uid":"cap_qLR-ml3Kj02kfekfFchpJ","slug":"customer-segment-observations-exact-row-deduplication-duplicate-key-2ab355da","name":"Customer Segment Observations — Exact Row Deduplication + Duplicate Key Report","description":"Customer segment observations — Exact row deduplication + Duplicate key report: Exact row deduplication + Duplicate key report 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-038?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_WQV6yhL9EddWbdl1B-HIQ","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 exactly and generates a duplicate key report for account_count and revenue_amount data, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Can you deduplicate my customer segment observations and give me a duplicate key report? Here are my rows — each has a row_id, company_group like 'group-a', a date like 2026-10-01, an account_count, and a revenue_amount. I have about 50 records and want both the exact row dedup results and the duplicate key report.","exampleUseCases":[{"title":"Monthly segment data deduplication before reporting","prompt":"Before I run my monthly revenue report, can you check these customer segment observation records for exact duplicate rows and give me a duplicate key report? I have 120 rows with company_group, date, account_count, and revenue_amount fields."},{"title":"Data pipeline quality check for segment uploads","prompt":"I just ingested a batch of customer segment observations from two different sources and I'm worried there are overlapping records. Can you run exact row deduplication and flag any duplicate keys across the account_count and revenue_amount fields? Here are the 80 rows."},{"title":"Audit segment records before database merge","prompt":"I need to merge two segment datasets into our database but want to clean them first — can you deduplicate these customer segment observation rows exactly and show me a duplicate key report so I know which records to drop? It's about 150 rows with group names, dates, account counts, and revenue amounts."}],"resultDescription":"Two independent analytical reports: (1) an exact row deduplication report identifying and removing fully duplicate rows from the submitted customer segment observations, and (2) a duplicate key report flagging rows sharing the same key fields (company_group, date) across account_count and revenue_amount values — both generated locally without external lookups.","failureModes":["Submitting more than 200 rows returns a validation error","Missing required fields (row_id, company_group, date, account_count, revenue_amount) causes rejection","Date fields not matching YYYY-MM-DD pattern are rejected","Numeric values outside ±1,000,000,000,000 range fail schema validation","Empty rows array (minItems:1 violated) returns error","Payment of 0.01 USDC not included results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need both exact row deduplication and a duplicate key report on customer segment observations containing account_count and revenue_amount in a single low-cost call. It is ideal for small-to-medium batches (up to 200 rows) of structured segment data where local analytical processing is sufficient and no external data enrichment, prediction, or live lookup is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:30.795Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-exact-row-deduplication-duplicate-key-2ab355da"}