---
title: "Get search facet counts"
method: POST
path: "/api/v1/assets/facets"
tags: ["Assets"]
---

# Get search facet counts

`POST /api/v1/assets/facets`

## Request

- Base URL: `https://numonic.ai`
- URL: `https://numonic.ai/api/v1/assets/facets`
- Auth: API key in header `x-api-key`

Retrieve facet counts for filtering (file types, tags, etc.).

## Request body

- FacetsRequest
  - `searchText` string: Optional search text to scope facets
  - `filters` object: Filters to apply before computing facets

## Response `200`

Facets retrieved

---

[API](https://skmtc.dev/numonic/apis/numonic-api.md) · [All operations](https://skmtc.dev/numonic/apis/numonic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/numonic/apis/numonic-api/revisions/6c559bef1e35?raw)
