{"uid":"cap_YHvVkZlvAsfsG0duYzwSS","slug":"customer-segment-observations-duplicate-key-report-date-by-category-ae676c46","name":"Customer Segment Observations — Duplicate Key Report + Date by Category Pivot","description":"Customer segment observations — Duplicate key report + Date by category pivot: Duplicate key report + Date by category pivot 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-068?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_72ZaU_nj9Jm0rzyyp74iI","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":"Runs two local analytical reports on customer segment observation data: a duplicate key report and a date-by-category pivot table, for up to 200 rows.","exampleAgentPrompt":"Can you run a duplicate key check and a date-by-category pivot on this customer segment data? I have rows with row_id, company_group, date, account_count, and revenue_amount — up to 50 rows — and I want to pivot on revenue_amount.","exampleUseCases":[{"title":"Audit segment data for duplicate keys","prompt":"I've got a batch of customer segment observations with row IDs, company groups, dates, and account counts. Can you check whether any row IDs are duplicated in this dataset and give me a report?"},{"title":"Pivot revenue by date and company group","prompt":"Take my customer segment records — each has a date, company group, and revenue_amount — and pivot the revenue_amount values so I can see totals broken out by date and category across all groups."},{"title":"Combined data quality and pivot summary","prompt":"Run both a duplicate key audit and a date-by-category pivot on my customer segment observations for account_count. I have about 120 rows with row_id, company_group, date, and account_count fields."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any rows sharing the same key fields, and (2) a date-by-category pivot table aggregating the selected numeric field (account_count or revenue_amount) across company groups and dates. Both reports are computed locally from the supplied data, with no external lookups.","failureModes":["More than 200 rows supplied — request will be rejected or truncated","Missing required fields (row_id, company_group, date, account_count, revenue_amount) cause validation errors","Invalid date format (must be YYYY-MM-DD) triggers pattern validation failure","Numeric values outside allowed range (-1T to +1T) rejected","Empty rows array returns an error","Invalid field enum value (not account_count or revenue_amount) causes schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need quick, low-cost data quality and pivot analytics on customer segment observation data (up to 200 rows) without any external data lookups or predictions. It is ideal when you want both a duplicate key audit and a date-category pivot in a single API call at $0.01 USDC. Prefer it over general-purpose analytics tools when your data is already structured with company_group, date, account_count, and revenue_amount fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:34.431Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-duplicate-key-report-date-by-category-ae676c46"}