{"uid":"cap_LdVYx1FonF1bYPP-MfZ0f","slug":"material-libraries-category-frequencies-secondary-measure-weighted-mean-6aa1acad","name":"Material Libraries — Category Frequencies + Secondary-Measure Weighted Mean","description":"Material libraries — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean 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-109?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_GkFpFvej8WNs0uMC6BO5M","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 frequencies and a secondary-measure weighted mean for material library records (material_count, texture_mb) across up to 200 rows.","exampleAgentPrompt":"I have some material library records with asset groups, dates, material counts, and texture sizes — can you compute the category frequencies across asset groups and the weighted mean of material_count for up to 4 rows: row-1 on 2026-10-01 in group-a with material_count 10 and texture_mb 1, row-2 on 2026-10-02 in group-b with material_count 20 and texture_mb 2, row-3 on 2026-10-03 in group-a with material_count 15 and texture_mb 3, row-4 on 2026-10-04 in group-b with material_count 30 and texture_mb 4?","exampleUseCases":[{"title":"Asset group distribution analysis","prompt":"I have 50 material library rows across several asset groups with their material counts and texture sizes — can you tell me how frequently each asset group appears and give me the weighted mean of material_count across those groups?"},{"title":"Texture size weighted average by category","prompt":"I want to understand the texture_mb weighted mean for my material library records grouped by asset_group — here are 100 rows with row IDs, dates, asset groups, material counts, and texture MB values, please run the category frequency and weighted mean reports on texture_mb."},{"title":"Game studio material library audit","prompt":"Our game studio has 200 material entries with asset group labels and both material_count and texture_mb fields — can you compute how often each asset group category shows up and what the secondary-measure weighted mean of material_count is across them?"}],"resultDescription":"Returns two analytical reports: (1) a category frequency table showing how often each asset_group value appears across the supplied rows, and (2) a secondary-measure weighted mean for the chosen field (material_count or texture_mb), computed locally without any external lookup or prediction. Results cover up to 200 input rows.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, asset_group, date, material_count, texture_mb) causes a schema rejection","Invalid date format (non-YYYY-MM-DD) triggers a pattern validation error","Numeric values outside the allowed range cause validation failure","Empty rows array is rejected due to minItems:1 constraint"],"whenToPreferThis":"Choose this endpoint when you have tabular material library records with asset group categories and numeric measures (material_count, texture_mb) and need both a frequency distribution of categories and a weighted mean of a numeric field — all computed locally against your supplied data for a flat $0.01 USDC fee covering both reports for up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T06:50:08.838Z","isFirstParty":false,"canonicalSlug":"material-libraries-category-frequencies-secondary-measure-weighted-mean-6aa1acad"}