Get distinct attribute
GET
/indexes/{indexUid}/settings/distinct-attribute
Get the distinct attribute field of an index.
Path parameters
-
indexUid string Required
Index Unique Identifier
GET /indexes/{indexUid}/settings/distinct-attribute
curl \
-X GET https://example.meilisearch.com:7700/indexes/movies/settings/distinct-attribute \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
"string"
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"
}