Skip to main content

Get Product Data Health Metrics

GET 

/api/product-data-health/metrics

Aggregated product data-health metrics for the Product Data Health dashboard: product-type distribution, active/archived breakdown, unit-cost health (>0 / =0 / null), brand and supplier coverage, supplier-price health, kit/bundle component gaps, pricing coverage, image health, and sales-channel mapping coverage.

Required scope: products:read

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

Image health: products_with_image / products_without_image reflect image presence (a primary or any product image). products_with_broken_image counts products whose primary image was checked and found unresolvable by the on-demand image-health check (see POST /api/product-data-health/check-image-health). image_health_last_checked_at is the most recent time any product image was validated (UTC, ISO-8601), or null if no check has ever run.

Authentication: Requires Bearer token (scope: products read-write).

Optional filters (all narrow every metric):

  • archived_status: active | archived — restrict to active or archived products
  • brand_id: integer — restrict to a single brand
  • default_supplier_id: integer — restrict to products whose default supplier matches

Request

Responses

OK

Response Headers
    Content-Type