Authentication
All requests must include an API key via thex-api-key header.
Endpoints
FacetConfig Object
facet_type Values
GET /api/v1/facets/config
List all facet configurations for the authenticated workspace.POST /api/v1/facets/config
Create a new facet configuration.201 Created with the new FacetConfig object.
PUT /api/v1/facets/config/
Update an existing facet configuration.DELETE /api/v1/facets/config/
Delete a facet configuration. Returns204 No Content.
Using Facets in Search
Once configured, request facet counts inPOST /api/v1/search:
brand:Nike still shows all brands in the facets.brand response, allowing users to switch filters without losing context.