# Distinct values per catalog dimension

Distinct values per filterable dimension. Read these rather than hard-coding a list; `metric` grows as the pipeline publishes more.

Endpoint: GET /flow/catalog/facets
Version: 1.0.0
Security: HTTPBearer, ApiKeyAuth

## Security:

  - `HTTPBearer` (unknown)
    http bearer

  - `ApiKeyAuth` (unknown)
    apiKey in header x-api-key

## Query parameters:

  - `dimensions` (any)
    Comma-separated dimensions to return, e.g. `metric,frequency`. Omit for all.

## Response 200:

  - `200` (unknown)
    Successful Response

## Response 200 fields (application/json):

  - `facets` (object)
    Dimension -> sorted distinct values

  - `total_series` (integer)
    Series the facets summarise

## Response 422:

  - `422` (unknown)
    Validation Error

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `detail.input` (any)

  - `detail.ctx` (object)

