v5
OpenAPI 3.1.02026-08-025631,1012.8 MBCollection Documents
Return distinct values for a single field.
Return the set of unique values for one document field across a collection, together with a per-value document count sorted desc. Thin wrapper over /aggregate for the common SELECT DISTINCT <field> case — use this when a UI needs a facet list (e.g. brand_slug) without loading every document. Null/missing values are excluded.
post/v1/collections/{collection_identifier}/documents/distinct
Path parameters
collection_identifierstring required
The unique identifier of the collection.
The unique identifier of the collection.
Request body
Example request
{
"field": "brand_slug"
}Response
Successful Response