Core
API v2.x
2

exists #

Checks if the given index exists in Kuzzle.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/<index>/_exists
Method: GET

Other protocols #

{
  "index": "<index>",
  "controller": "index",
  "action": "exists"
}

Arguments #

  • index: index name to test for existence

Response #

Returns a boolean telling whether the requested index exists.

{
  "status": 200,
  "error": null,
  "index": "<index>",
  "controller": "index",
  "action": "exists",
  "requestId": "<unique request identifier>",
  "result": true
}

Possible errors #