{"uid":"cap_7gLYX2NHH7g7_-3Ps-EDF","slug":"material-libraries-secondary-measure-weighted-mean-date-by-category-2b232ecd","name":"Material Libraries — Secondary-Measure Weighted Mean + Date-by-Category Pivot","description":"Material libraries — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot for supplied material libraries records (material_count, texture_mb). 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-creative-03-185?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","asset_group","date","material_count","texture_mb"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"texture_mb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"asset_group":{"type":"string","default":"","maxLength":80},"material_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","texture_mb":1,"asset_group":"group-a","material_count":10},{"date":"2026-10-02","row_id":"row-2","texture_mb":2,"asset_group":"group-b","material_count":20},{"date":"2026-10-03","row_id":"row-3","texture_mb":3,"asset_group":"group-a","material_count":15},{"date":"2026-10-04","row_id":"row-4","texture_mb":4,"asset_group":"group-b","material_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["material_count","texture_mb"],"type":"string","default":"material_count"}}},"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_cWuJ27ouXLKj6AvVlQ5hM","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 supplied material library records (material_count, texture_mb) in a single paid call.","exampleAgentPrompt":"I have material library records for my 3D asset pipeline — can you compute a weighted mean of texture_mb (using material_count as the weight) and also pivot the data by date and asset_group? Here are my rows: group-a on 2026-10-01 had material_count=10 and texture_mb=1, group-b on 2026-10-02 had material_count=20 and texture_mb=2, group-a on 2026-10-03 had material_count=15 and texture_mb=3, group-b on 2026-10-04 had material_count=30 and texture_mb=4.","exampleUseCases":[{"title":"Texture size weighted average by asset group","prompt":"I have 50 rows of material library data with asset groups, dates, material counts, and texture sizes in MB — can you give me the weighted mean of texture_mb (weighted by material_count) and a pivot showing texture_mb by date and asset group?"},{"title":"Material count pivot for production pipeline audit","prompt":"We're auditing our 3D production pipeline and I need to pivot our material_count records by date and asset_group, plus get the weighted average of material_count across groups — I'll supply up to 150 rows of data."},{"title":"Daily material metrics summary for studio reporting","prompt":"For our studio's weekly report, can you take these material library records and produce a date-by-category pivot table plus a weighted mean of material_count, weighted by texture_mb, across all our asset groups?"}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean (e.g. texture_mb weighted by material_count, or vice versa) across the supplied records, and (2) a date-by-category pivot table breaking down the selected field by date and asset_group. Both reports are computed locally from the supplied data with no external lookups, covering up to 200 input rows.","failureModes":["More than 200 rows submitted — request rejected due to row limit","Missing required fields (row_id, asset_group, date, material_count, texture_mb) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Null values in weighting field may affect weighted mean accuracy","Payment not provided or insufficient USDC — 402 payment required response","field enum value not one of 'material_count' or 'texture_mb' — invalid input"],"whenToPreferThis":"Choose this endpoint when you have up to 200 material library records (with asset_group, date, material_count, texture_mb fields) and need both a weighted mean of one measure by the other AND a date-by-category pivot — delivered together in a single low-cost call ($0.01 USDC). Ideal for 3D asset pipeline analytics, studio reporting, or production audits where you supply your own data and need fast local aggregation without external data lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T06:50:40.541Z","isFirstParty":false,"canonicalSlug":"material-libraries-secondary-measure-weighted-mean-date-by-category-2b232ecd"}