Get Filterable Attributes
GET
/indexes/{indexUid}/settings/filterable-attributes
Get the filterable attributes of an index.
Path parameters
-
indexUid string Required
Index Unique Identifier
Responses
-
• 200 application/json
Ok
Attributes to use for faceting and filtering. See Filtering and Faceted Search.
-
• 401 application/json
Unauthorized
-
• 404
Not Found
GET /indexes/{indexUid}/settings/filterable-attributes
curl \
-X GET https://example.meilisearch.com:7700/indexes/movies/settings/filterable-attributes \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
"genres",
"director"
]
Response examples (401)
{
"message": "The Authorization header is missing. It must use the bearer authorization method.",
"code": "missing_authorization_header",
"type": "auth",
"link": "https://docs.meilisearch.com/errors#missing_authorization_header"
}