{"uid":"cap_lF_u5wYG6d8T23eQD2IWj","slug":"dataset-storage-analytics-weighted-mean-keyed-dataset-comparison-7ea3a73c","name":"Dataset Storage Analytics — Weighted Mean & Keyed Dataset Comparison","description":"Dataset storage — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied dataset storage records (used_mb, row_count). 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-18-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","used_mb","row_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"used_mb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","used_mb":10,"row_count":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","used_mb":20,"row_count":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","used_mb":15,"row_count":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","used_mb":30,"row_count":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["used_mb","row_count"],"type":"string","default":"used_mb"},"other":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","used_mb","row_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"used_mb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","used_mb":10,"row_count":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","used_mb":21,"row_count":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","used_mb":17,"row_count":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","used_mb":33,"row_count":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":0}}},"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_d6c3TrPIGTYO0Mn0KxSs2","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 a secondary-measure weighted mean and performs a keyed comparison between two dataset storage record sets (used_mb, row_count) for up to 200 rows each.","exampleAgentPrompt":"Can you compute the weighted mean of used_mb (weighted by row_count) for my storage dataset, and also compare it against a second snapshot? I have two sets of up to 20 rows each with row_id, dataset_group, date, used_mb, and row_count fields.","exampleUseCases":[{"title":"Storage growth weighted mean analysis","prompt":"I have two months of dataset storage records with used_mb and row_count per group — can you compute the row_count-weighted mean of used_mb across all groups for me?"},{"title":"Before-and-after dataset storage comparison","prompt":"I want to compare my dataset storage records from last quarter against this quarter — same row IDs, same groups — can you run a keyed comparison on used_mb so I can see what changed?"},{"title":"Multi-group dataset size benchmarking","prompt":"I've got storage stats for three dataset groups across 50 rows. Can you compute the weighted average of row_count using used_mb as the weight, and then compare the two versions of the dataset side by side?"}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean computed over the supplied rows for the chosen field (used_mb or row_count), and (2) a keyed comparison between the primary and secondary dataset arrays matched by row_id, highlighting differences per dataset_group. No external data is fetched; all computation is local to the engine.","failureModes":["Input rows array empty or missing — returns validation error","More than 200 rows submitted — request rejected with item limit error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Missing required fields (row_id, dataset_group, date) — rejected with field error","field enum value not 'used_mb' or 'row_count' — rejected","Null values in numeric fields may affect weighted mean calculation"],"whenToPreferThis":"Choose this endpoint when you have dataset storage records with used_mb and row_count fields and need both a weighted mean statistic and a side-by-side keyed comparison in a single $0.01 call. It is ideal for comparing two snapshots of the same dataset over time, or benchmarking two different dataset groups. Prefer this over general-purpose analytics when your data specifically involves storage metrics organized by dataset_group and identified by row_id.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:51.602Z","isFirstParty":false,"canonicalSlug":"dataset-storage-analytics-weighted-mean-keyed-dataset-comparison-7ea3a73c"}