{"uid":"cap_QHBkHHWJRWSZqFzbSXWFS","slug":"customer-segment-observations-duplicate-key-report-numeric-row-ordering-4456179d","name":"Customer Segment Observations — Duplicate Key Report + Numeric Row Ordering","description":"Customer segment observations — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering 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-058?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},"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_vfltqgO1C7vqyBGGR9WgY","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 customer segment observation records to produce a duplicate key report and numeric row ordering for account_count or revenue_amount fields.","exampleAgentPrompt":"Can you run a duplicate key check and numeric row ordering on my customer segment data — here are 5 rows with row_id, company_group, date, account_count, and revenue_amount — and sort them by account_count?","exampleUseCases":[{"title":"Duplicate segment key audit","prompt":"I have a list of 50 customer segment observation records with row IDs, company groups, dates, account counts, and revenue amounts — can you run a duplicate key report to find any repeated row IDs and rank the rows by revenue_amount?"},{"title":"Revenue-ranked segment ordering","prompt":"Take these 30 customer segment rows and give me a numeric ordering based on their revenue_amount field, plus flag any duplicate keys across the records."},{"title":"Account count ranking for QA","prompt":"I need to validate my segment dataset — can you check these 80 rows for duplicate row IDs and produce a numeric ranking by account_count so I can spot anomalies?"}],"resultDescription":"Returns two reports: (1) a duplicate key report identifying any row_ids that appear more than once in the submitted records, and (2) a numeric row ordering ranking all submitted rows by the selected field (account_count or revenue_amount). Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Input array exceeds 200 rows — request will be rejected","Missing required fields (row_id, company_group, date, account_count, revenue_amount) cause validation errors","Invalid date format (must be YYYY-MM-DD) causes schema rejection","Field selector not one of 'account_count' or 'revenue_amount' causes enum validation failure","Empty rows array rejected by minItems constraint"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously detect duplicate keys and produce a numeric row ranking on customer segment observation records (account_count or revenue_amount) in a single low-cost call. Ideal for data quality checks on batches up to 200 rows where no live data lookup, ML prediction, or external enrichment is needed — just fast local analytical computation on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:58.386Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-duplicate-key-report-numeric-row-ordering-4456179d"}