Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

exists #

Checks if the given index exists in Kuzzle.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/<index>/_exists
Method: GET

Other protocols #

Copied to clipboard!
{
  "index": "<index>",
  "controller": "index",
  "action": "exists"
}

Arguments #

  • index: index name to test for existence

Response #

Returns a boolean telling whether the requested index exists.

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

Possible errors #