{"uid":"cap_OKZQZ9KVgsqDgWLCPGX82","slug":"data-ingestion-batches-category-frequencies-secondary-measure-0d5baa18","name":"Data Ingestion Batches — Category Frequencies + Secondary-Measure Weighted Mean","description":"Data ingestion batches — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean for supplied data ingestion batches records (received_rows, accepted_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-01-109?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","received_rows","accepted_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"accepted_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"received_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","accepted_rows":1,"dataset_group":"group-a","received_rows":10},{"date":"2026-10-02","row_id":"row-2","accepted_rows":2,"dataset_group":"group-b","received_rows":20},{"date":"2026-10-03","row_id":"row-3","accepted_rows":3,"dataset_group":"group-a","received_rows":15},{"date":"2026-10-04","row_id":"row-4","accepted_rows":4,"dataset_group":"group-b","received_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["received_rows","accepted_rows"],"type":"string","default":"received_rows"}}},"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_Ad4eFU6ILTpv2RMUDIOah","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":"Computes category-level frequency distributions and a weighted mean of a secondary numeric measure (received_rows or accepted_rows) across up to 200 data ingestion batch records.","exampleAgentPrompt":"Analyze these data ingestion batch records for me — compute the category frequencies for each dataset_group and also the weighted mean of accepted_rows across these batches: [row-1, group-a, 2026-10-01, received=10, accepted=1], [row-2, group-b, 2026-10-02, received=20, accepted=2], [row-3, group-a, 2026-10-03, received=15, accepted=3].","exampleUseCases":[{"title":"ETL pipeline group distribution audit","prompt":"I have 50 rows of ingestion batch logs across four dataset groups from last month — can you compute how frequently each group appears and give me the weighted mean of accepted_rows using received_rows as the weight?"},{"title":"Data acceptance rate review","prompt":"Here are 120 ingestion batch records with received_rows and accepted_rows fields. Compute the category frequencies by dataset_group and the weighted mean of received_rows across all groups so I can see which groups dominate my pipeline."},{"title":"Daily batch quality summary","prompt":"Run two reports on these data ingestion batch records: first, how many records fall into each dataset_group category, and second, what's the weighted mean of accepted_rows? I have about 80 rows to analyze."}],"resultDescription":"Two analytical reports: (1) a category frequency table showing how often each dataset_group value appears across the submitted rows, and (2) a secondary-measure weighted mean (e.g. weighted mean of accepted_rows weighted by received_rows or vice versa) — both computed locally against the supplied data with no external lookups.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, dataset_group, date, received_rows, accepted_rows) causes rejection","Invalid date format (non-YYYY-MM-DD) fails schema validation","Providing an invalid 'field' enum value (not received_rows or accepted_rows) causes an error","Submitting fewer than 1 row returns a validation error","Numeric values outside ±1,000,000,000,000 range are rejected"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous statistical summaries — a category frequency distribution and a weighted mean — specifically for data ingestion batch records containing received_rows and accepted_rows fields. It is ideal for ETL pipeline monitoring, data quality audits, and batch acceptance rate analysis on datasets up to 200 rows. It operates entirely on supplied data with no external calls, making it fast, deterministic, and cost-effective at $0.01 USDC for both reports together.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:26.455Z","isFirstParty":false,"canonicalSlug":"data-ingestion-batches-category-frequencies-secondary-measure-0d5baa18"}