{"uid":"cap_r_pm2KphwsuwXCItF55Zu","slug":"dataset-storage-analytics-weighted-mean-date-category-pivot-8aee19d9","name":"Dataset Storage Analytics: Weighted Mean + Date-Category Pivot","description":"Dataset storage — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot 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-185?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"}}},"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_Cs1GldEPhc3OxGYB1ETPZ","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 a date-by-category pivot table for up to 200 dataset storage records (used_mb or row_count).","exampleAgentPrompt":"Can you analyze these dataset storage records — weighted mean of used_mb and a date-by-category pivot — I have 4 rows across group-a and group-b from 2026-10-01 to 2026-10-04?","exampleUseCases":[{"title":"Storage audit by team and date","prompt":"I have 50 dataset storage records with used_mb values across groups like 'team-alpha' and 'team-beta' from the past month. Can you give me the weighted mean of used_mb and a pivot of storage by date and group?"},{"title":"Row count trend analysis","prompt":"Here are 120 dataset records with row_count per group. Compute the weighted mean of row_count and show me a date-by-category breakdown so I can see growth trends across groups."},{"title":"Storage capacity planning report","prompt":"I need to summarize storage usage for our datasets — I've got up to 200 rows with used_mb values across several dataset groups and dates. Give me the weighted mean and a pivot table by date and category."}],"resultDescription":"Returns two reports for the supplied dataset storage rows: (1) a weighted mean of the selected measure (used_mb or row_count) using the secondary measure as weights, and (2) a pivot table of the selected measure aggregated by date and dataset_group category. No external data is fetched; all computation is local.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, dataset_group, date, used_mb, row_count) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values in the weight column may cause undefined weighted mean results","Field enum value not 'used_mb' or 'row_count' causes validation failure"],"whenToPreferThis":"Choose this endpoint when you have up to 200 dataset storage records with used_mb and row_count fields and need both a weighted mean summary and a date-by-category pivot in a single low-cost call. Ideal for lightweight analytical reporting on storage data without standing up a database or analytics pipeline. Not suitable for real-time lookups, live database queries, predictions, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:46:57.978Z","isFirstParty":false,"canonicalSlug":"dataset-storage-analytics-weighted-mean-date-category-pivot-8aee19d9"}