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.

dbsize #

Returns the number of keys in the application database.

[Redis documentation]


Query Syntax #

HTTP #

URL: http://kuzzle:7512/ms/_dbsize
Method: GET

Other protocols #

{
  "controller": "ms",
  "action": "dbsize",
}

Response #

Returns the number of found keys.

{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "dbsize",
  "collection": null,
  "index": null,
  "result": 42
}