---
title: "Get unified host facet info"
method: GET
path: "/api/v2/csm/settings/hosts/facet_info"
tags: ["CSM Settings"]
---

# Get unified host facet info

`GET /api/v2/csm/settings/hosts/facet_info`

Get the value distribution for a specific unified host facet, with optional search and filtering.

## Query parameters

- `facet` string, required
- `search` string
- `query` string

## Response `200`

OK

- CsmHostFacetInfoResponse — The response returned when requesting value distribution for a specific facet.
  - `data` CsmHostFacetInfoData, required — The data wrapper for a facet info response.
    - `attributes` CsmHostFacetInfoAttributes, required — Attributes of a facet info response, containing the value distribution for the requested facet.
      - `items` CsmHostFacetInfoItem[], required — The list of facet value entries for the current page.
        - `count` integer, required — The number of resources with this facet value.
        - `value` string, required — The facet value.
    - `id` string, required — The identifier of the facet.
    - `meta` CsmHostFacetInfoMeta, required — Metadata for the facet info response.
      - `total_count` integer, required — The total number of distinct values for this facet.
    - `type` 'facet_info', required — The JSON:API type for facet info resources. The value should always be `facet_info`.

## Other responses

- `400` — Bad Request
- `403` — Not Authorized
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/versions/da68bf029e4c/schema)
