{"uid":"cap_bn6V6DAYHWZZxrS5lVXQV","slug":"product-photography-equal-width-histogram-secondary-measure-weighted-515a6ea4","name":"Product Photography Equal-Width Histogram & Secondary-Measure Weighted Mean","description":"Product photography — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied product photography records (required_images, completed_images). 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-retail-09-172?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","required":["row_id","store_group","date","required_images","completed_images"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"store_group":{"type":"string","default":"","maxLength":80},"required_images":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completed_images":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","store_group":"group-a","required_images":10,"completed_images":1},{"date":"2026-10-02","row_id":"row-2","store_group":"group-b","required_images":20,"completed_images":2},{"date":"2026-10-03","row_id":"row-3","store_group":"group-a","required_images":15,"completed_images":3},{"date":"2026-10-04","row_id":"row-4","store_group":"group-b","required_images":30,"completed_images":4}],"maxItems":200,"minItems":1},"field":{"enum":["required_images","completed_images"],"type":"string","default":"required_images"}}},"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_j4a_KOmJPZNkev3RjXd8z","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 an equal-width histogram and a secondary-measure weighted mean over product photography completion records (required_images, completed_images) for up to 200 rows.","exampleAgentPrompt":"Can you run a histogram analysis (5 bins) on our required_images field for these 4 store groups and also get the weighted mean — here's the data: row-1, group-a, 2026-10-01, required=10, completed=1; row-2, group-b, 2026-10-02, required=20, completed=2; row-3, group-a, 2026-10-03, required=15, completed=3; row-4, group-b, 2026-10-04, required=30, completed=4?","exampleUseCases":[{"title":"Photography backlog distribution audit","prompt":"I have 50 store records with required_images and completed_images counts for October — can you build a 10-bin equal-width histogram on required_images and also give me the weighted mean of completed_images weighted by required_images, so I can see where the photography backlog is concentrated?"},{"title":"Retail group completion benchmarking","prompt":"Run a histogram with 8 bins on our completed_images data across these store groups and dates — I want to benchmark how evenly photography completion is spread and get the weighted mean for required_images as the secondary measure."},{"title":"Weekly photography progress summary","prompt":"Here are 80 rows of our weekly photography tracking data with store_group, date, required_images, and completed_images — give me a 5-bin histogram on required_images plus the secondary-measure weighted mean so I can summarize progress for the team report."}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram of the chosen field (required_images or completed_images) broken into the specified number of bins with bin edges and counts, and (2) a secondary-measure weighted mean where one field is weighted by the other — all computed locally without external lookups, based solely on the supplied rows.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Invalid date format (non-YYYY-MM-DD) causes validation error","Missing required fields (row_id, required_images, completed_images) causes schema rejection","Bins parameter out of range (must be 1–30) triggers validation failure","All null values in the target field results in undefined histogram or NaN weighted mean","Empty rows array rejected (minimum 1 row required)"],"whenToPreferThis":"Choose this endpoint when you have product photography tracking records (required_images, completed_images) for up to 200 rows and need both a distribution histogram and a weighted mean in a single low-cost call ($0.01 USDC). It is ideal for retail/e-commerce analytics teams doing batch statistical summarization on local data without needing live lookups, predictions, or external integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:40.020Z","isFirstParty":false,"canonicalSlug":"product-photography-equal-width-histogram-secondary-measure-weighted-515a6ea4"}