Menu
Search for facet values
Search for facet values
POST
/indexes/{index_uid}/facet-searchUse it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Search for facet values action (under Facet Search).
- Fill in the fields below, then reference the result from later steps as
{{searchForFacetValues.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"facetName": "string",
"facetQuery": "string",
"q": "string",
"vector": null,
"media": null,
"hybrid": null,
"filter": null,
"matchingStrategy": null,
"attributesToSearchOn": null,
"rankingScoreThreshold": 0,
"locales": null,
"exhaustiveFacetCount": false
}
Response
Returns 200 with an object. Read it in later steps with {{searchForFacetValues.response.data.<field>}}.
{
"facetHits": [
{
"value": "string",
"count": 0
}
],
"processingTimeMs": 0,
"facetQuery": "string",
"remoteErrors": {}
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?