{"uid":"cap_ZlS1QYEwgJqYQdJUlK57m","slug":"migration-batches-record-quality-audit-secondary-measure-weighted-mean-f187a5ec","name":"Migration Batches Record Quality Audit + Secondary-Measure Weighted Mean","description":"Migration batches — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean for supplied migration batches records (records_migrated, failed_records). 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-software-18-016?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","component","date","records_migrated","failed_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"component":{"type":"string","default":"","maxLength":80},"failed_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"records_migrated":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","component":"group-a","failed_records":1,"records_migrated":10},{"date":"2026-10-02","row_id":"row-2","component":"group-b","failed_records":2,"records_migrated":20},{"date":"2026-10-03","row_id":"row-3","component":"group-a","failed_records":3,"records_migrated":15},{"date":"2026-10-04","row_id":"row-4","component":"group-b","failed_records":4,"records_migrated":30}],"maxItems":200,"minItems":1},"field":{"enum":["records_migrated","failed_records"],"type":"string","default":"records_migrated"}}},"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_3pfQCxB9hmLq0659vipOt","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":"Audits data quality and computes a weighted mean for a secondary measure across supplied migration batch records (records_migrated, failed_records) in a single call.","exampleAgentPrompt":"Can you run a quality audit and weighted mean on my migration batch data? I have rows with row_id, component (group-a and group-b), date, records_migrated, and failed_records — up to 50 rows — and I want the weighted mean calculated on the records_migrated field.","exampleUseCases":[{"title":"ETL pipeline data quality check","prompt":"I just finished a data migration run and I have about 80 batch rows with row_id, component name, date, records_migrated, and failed_records. Can you audit the quality of these records and give me a weighted mean on the records_migrated field so I can see how the migration performed?"},{"title":"Failed records anomaly review","prompt":"I need to review my migration batches for data quality issues and get a weighted mean of failed_records across all my components. I have around 40 rows from last month's migration — can you run both reports on the failed_records field?"},{"title":"Component-level migration report","prompt":"We ran migrations across group-a and group-b components over the past week and I have the daily batch data in 30 rows. Can you do a record quality audit and compute a weighted mean on records_migrated so our team can see where the issues are?"}],"resultDescription":"Returns two analytical reports: (1) a record quality audit highlighting data issues such as nulls, out-of-range values, or malformed fields across the supplied migration batch rows, and (2) a weighted mean calculation for the selected measure (records_migrated or failed_records). Both reports are generated locally from the supplied data with no external lookups. Up to 200 rows are supported per call.","failureModes":["Submitting more than 200 rows returns a validation error","Missing required fields (row_id, component, date, records_migrated, failed_records) causes row-level rejection","Invalid date format (non YYYY-MM-DD) triggers a pattern validation error","Providing an invalid field enum value (not records_migrated or failed_records) returns a schema error","Empty rows array returns a minItems validation error","Numeric values outside [-1000000000000, 1000000000000] are rejected","Payment of 0.01 USDC required; insufficient payment results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need both a data quality audit and a weighted mean statistic on migration batch records in a single low-cost call. It is ideal for ETL and data migration workflows where you want to validate record completeness and compute aggregate metrics on records_migrated or failed_records without any external data lookups or predictions. Best suited for batches up to 200 rows processed analytically on supplied data only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:50:32.345Z","isFirstParty":false,"canonicalSlug":"migration-batches-record-quality-audit-secondary-measure-weighted-mean-f187a5ec"}