Skip to main content

Get Attribute Insights

GET 

/api/v2/attributes/:attribute_id/insights

Coverage and value distribution for one attribute across active products (archived products and style parents left out; a product has a value when it is not empty). Includes per-value product counts with units sold and revenue over the last 90 days, the value mix per brand and per product type, where values came from (channel mapping, tag rule, AI suggestion, import, manual edit, merge; values written before source tracking began are unknown), likely duplicate values, pending suggestions, the daily coverage trend and a prioritized list of issues to fix.

Required scope: products:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

On large catalogs the numbers are computed in the background: the response is 202 with {"status": "computing"} — poll again until status is ready. A failed computation returns {"status": "failed", "message": ...}; pass refresh=1 to recompute. Results are cached for 30 minutes.

The coverage trend starts on the first day the attribute was recorded; earlier history cannot be rebuilt.

Scope: products:read.

Request​

Responses​

OK

Response Headers
    Content-Type