Core
API v2.x
2

dbsize #

Returns the number of keys in the application database.

[Redis documentation]


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/ms/_dbsize
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "ms",
  "action": "dbsize",
}

Response #

Returns the number of found keys.

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