{"uid":"cap_q--Ms0JBWfkeSGkhe9QO9","slug":"customer-segment-observations-duplicate-key-report-daily-sum-series-a60d37ca","name":"Customer Segment Observations — Duplicate Key Report + Daily Sum Series","description":"Customer segment observations — Duplicate key report + Daily sum series: Duplicate key report + Daily sum series 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-060?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_tAoCAi4EkCxMv5IQad9TJ","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 rows to produce two local analytical reports: a duplicate key report and a daily sum time series for account_count or revenue_amount.","exampleAgentPrompt":"Check my customer segment records for duplicate row IDs and also give me a daily sum of revenue_amount — here are 150 rows with fields row_id, company_group, date, and revenue_amount.","exampleUseCases":[{"title":"Data quality audit before CRM import","prompt":"Before I import this batch of 180 customer segment records into our CRM, can you run a duplicate key check on the row IDs and flag any conflicts? The rows have company_group, date, account_count, and revenue_amount fields."},{"title":"Daily revenue rollup for segment reporting","prompt":"I have about 120 rows of customer segment observations with dates and revenue_amount values — can you sum the revenue by day so I can see a daily time series for our segment report?"},{"title":"Account count trend analysis by group","prompt":"Can you take these 90 company segment rows and produce both a duplicate row ID report and a daily total of account_count so I can spot data issues and see growth trends at the same time?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any row_id values that appear more than once in the submitted dataset, and (2) a daily sum time series aggregating the chosen metric field (account_count or revenue_amount) totaled by date across all submitted rows. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Rows array is empty or missing — validation error","More than 200 rows submitted — exceeds maxItems limit","row_id field missing or empty — required field error","date field does not match YYYY-MM-DD pattern — format validation failure","Numeric fields exceed ±1,000,000,000,000 — range validation error","Invalid field enum value (not account_count or revenue_amount) — schema error","Payment of 0.01 USDC not included or rejected — 402 payment required"],"whenToPreferThis":"Choose this endpoint when you need two specific analytical operations — duplicate key detection and daily metric aggregation — performed simultaneously on a single batch of customer segment data (up to 200 rows) at minimal cost. It is ideal for data quality pre-checks before ingestion and lightweight time series summarization without needing a full BI platform or external data warehouse query.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:29.943Z","isFirstParty":false,"canonicalSlug":"customer-segment-observations-duplicate-key-report-daily-sum-series-a60d37ca"}