Note: The bucket facets route is deprecated and is not part of the v2 consumer API. Do not use it in new product integrations. For faceted filtering, use POST /v2/buckets/\{bucket_id\}/search and pass user-visible metadata predicates in the filters object. Schift keeps facet-style aggregation and filter discovery as an internal operator capability; it is not a public API surface for new consumers.
Aggregate metadata key/value cardinality across a bucket’s searchable collections. The response shows the most common values for each requested field, which can be used to populate filter dropdowns or sanity-check dataset coverage.
Note: This endpoint is excluded from the public schema (include_in_schema=false). New code should migrate to v2 bucket search instead of calling it directly.