Get Index

GET /indexes/{indexUid}

Get information about an index.

Path parameters

  • indexUid string Required

    Index Unique Identifier

Responses

GET /indexes/{indexUid}
curl \
 -X GET https://example.meilisearch.com:7700/indexes/movies \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "uid": "movies",
  "primaryKey": "movie_id",
  "createdAt": "2019-11-20T09:40:33.711324Z",
  "updatedAt": "2019-11-20T09:40:33.711324Z"
}
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"
}