---
title: "Widen-aware facet counts for the discovery catalog (count before you click)."
method: POST
path: "/v1/items/facets"
tags: ["resource-facade"]
---

# Widen-aware facet counts for the discovery catalog (count before you click).

`POST /v1/items/facets`

## Headers

- `x-api-key` string, nullable

## Request body

- ItemFacetsInput — Same filter set as items.search; `facets` names the axes to count. project_id scopes to one project (with membership authz), else the caller's whole org.
  - `bbox` number[], nullable
  - `datetime` string, nullable
  - `limit` integer
  - `offset` integer
  - `collections` string[], nullable
  - `access_model` string, nullable
  - `type` ItemType[], nullable
  - `lifecycle_state` LifecycleState[], nullable
  - `q` string, nullable
  - `cloud_cover` object, nullable
  - `gsd` object, nullable
  - `source` object, nullable
  - `tags` string[], nullable
  - `latest_only` boolean
  - `query` object, nullable
  - `sortby` object[], nullable
  - `project_id` string, nullable
  - `facets` string[]

## Response `200`

Successful Response

- ItemFacetsOutput
  - `facets` object

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/geopera/apis/geopera-data-platform.md) · [All operations](https://skmtc.dev/geopera/apis/geopera-data-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geopera/geopera-data-platform/revisions/cb0130b2a40a/schema)
