{"uid":"cap_Jd6DidycFczTBSGJs7avv","slug":"metadata-completeness-duplicate-key-report-trailing-mean-series-189b1f66","name":"Metadata Completeness Duplicate Key Report + Trailing Mean Series","description":"Metadata completeness — Duplicate key report + Trailing mean series: Duplicate key report + Trailing mean series for supplied metadata completeness records (present_fields, expected_fields). 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-web-05-061?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","site_group","date","present_fields","expected_fields"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"site_group":{"type":"string","default":"","maxLength":80},"present_fields":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"expected_fields":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","site_group":"group-a","present_fields":10,"expected_fields":1},{"date":"2026-10-02","row_id":"row-2","site_group":"group-b","present_fields":20,"expected_fields":2},{"date":"2026-10-03","row_id":"row-3","site_group":"group-a","present_fields":15,"expected_fields":3},{"date":"2026-10-04","row_id":"row-4","site_group":"group-b","present_fields":30,"expected_fields":4}],"maxItems":200,"minItems":1},"field":{"enum":["present_fields","expected_fields"],"type":"string","default":"present_fields"},"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_Ew109T2T1FsAFhlEc7PWX","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 metadata completeness records (present_fields, expected_fields) to produce a duplicate key report and a trailing mean series for up to 200 rows.","exampleAgentPrompt":"Run a duplicate key report and trailing mean series on my metadata completeness records — I have 4 rows with site groups 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, present_fields values of 10, 20, 15, and 30, and expected_fields values of 1, 2, 3, and 4. Use 'present_fields' as the target field with a window size of 3.","exampleUseCases":[{"title":"Detect duplicate metadata record IDs","prompt":"I've got a batch of 50 metadata completeness records across several site groups and I want to know if any row_ids are duplicated. Can you run a duplicate key report on them using present_fields as the target field with a window of 2?"},{"title":"Track rolling coverage trends over time","prompt":"Can you compute a trailing mean series with a window of 5 for the expected_fields column across my 120 metadata completeness rows, grouped by site and dated from 2026-01-01 onward? I also want the duplicate key report included."},{"title":"QA metadata ingestion pipeline output","prompt":"We just ingested a week of metadata completeness logs — 80 rows across three site groups — and I need to check for duplicate keys and see a rolling 3-day mean on present_fields to spot any anomalies before we archive them."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any rows sharing the same key within the supplied dataset, and (2) a trailing mean series computed over the specified field (present_fields or expected_fields) using the given sliding window size. Both reports are derived locally from the supplied data with no external lookups.","failureModes":["Empty or missing rows array returns an error","row_id or date fields missing or malformed cause validation failure","Window size outside 2–200 range is rejected","More than 200 rows submitted exceeds the limit and is rejected","Non-numeric values in present_fields or expected_fields cause computation failure"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key detection report and a trailing moving average series computed together on metadata completeness data (present_fields and expected_fields) for up to 200 rows in a single low-cost call. It is ideal for data quality pipelines that track field coverage over time and need quick local analytics without any external data lookups or live predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:35.932Z","isFirstParty":false,"canonicalSlug":"metadata-completeness-duplicate-key-report-trailing-mean-series-189b1f66"}