{"uid":"cap_8HiFq-beXS-KYMRvraSfe","slug":"duplicate-observations-analytics-duplicate-key-report-trailing-mean-9ae9647f","name":"Duplicate Observations Analytics: Duplicate Key Report + Trailing Mean Series","description":"Duplicate observations — Duplicate key report + Trailing mean series: Duplicate key report + Trailing mean series for supplied duplicate observations records (duplicate_rows, total_rows). 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-analytics-04-061?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","duplicate_rows","total_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"duplicate_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","total_rows":1,"dataset_group":"group-a","duplicate_rows":10},{"date":"2026-10-02","row_id":"row-2","total_rows":2,"dataset_group":"group-b","duplicate_rows":20},{"date":"2026-10-03","row_id":"row-3","total_rows":3,"dataset_group":"group-a","duplicate_rows":15},{"date":"2026-10-04","row_id":"row-4","total_rows":4,"dataset_group":"group-b","duplicate_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["duplicate_rows","total_rows"],"type":"string","default":"duplicate_rows"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_BWJ6n-cZdoesmNrSCi2J3","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 supplied duplicate observation records to produce a duplicate key report and a trailing mean series for up to 200 rows, using local analytical engines with no external lookups.","exampleAgentPrompt":"Analyze these 4 rows of duplicate observation records — for dataset_group 'group-a' and 'group-b' from 2026-10-01 to 2026-10-04 with duplicate_rows and total_rows counts — and give me a duplicate key report plus a trailing mean series for the duplicate_rows field using a window of 2.","exampleUseCases":[{"title":"Data pipeline duplicate rate audit","prompt":"I have 50 rows of daily ingestion records for three dataset groups from the past two months, each with duplicate_rows and total_rows counts. Can you run a duplicate key report and compute a trailing mean series for duplicate_rows with a window of 7 so I can see the rolling trend?"},{"title":"Data quality dashboard for ETL monitoring","prompt":"Here are 120 records from our ETL jobs — each has a date, dataset_group, duplicate_rows, and total_rows. Generate a duplicate key report and a trailing mean series for total_rows using a window of 10, so we can monitor data quality over time."},{"title":"Spot-check duplicate spike investigation","prompt":"We had some suspicious duplicate spikes last week across two dataset groups. I have 30 rows with row_id, date, dataset_group, duplicate_rows, and total_rows. Please produce a duplicate key report and a trailing mean series on duplicate_rows with a window of 3 to help me see where the anomalies cluster."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying duplicate row patterns and counts across the supplied records by dataset group and key fields, and (2) a trailing mean series computed over the selected field (duplicate_rows or total_rows) using the specified rolling window size. Both reports are computed locally with no external data access, covering up to 200 input rows.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, dataset_group, date, duplicate_rows, total_rows) cause validation errors","Date values not matching YYYY-MM-DD pattern result in schema rejection","Window value outside 2–200 range causes parameter error","Null values in numeric fields may affect trailing mean computation","Empty rows array returns an error"],"whenToPreferThis":"Choose this endpoint when you have pre-collected duplicate observation records (with duplicate_rows and total_rows counts per date and dataset group) and need both a structural duplicate key report and a temporal trailing mean series in a single low-cost call. Ideal for data quality audits, ETL monitoring, and pipeline health checks where no live data lookup or external enrichment is needed and the dataset fits within 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:58:04.552Z","isFirstParty":false,"canonicalSlug":"duplicate-observations-analytics-duplicate-key-report-trailing-mean-9ae9647f"}