Get case status API

edit

Returns the number of cases that are open, closed, and in progress.

Deprecated in 8.1.0.

Request

edit

GET <kibana host>:<port>/api/cases/status

GET <kibana host>:<port>/s/<space_id>/api/cases/status

Prerequisites

edit

You must have read privileges for the Cases feature in the Management, Observability, or Security section of the Kibana feature privileges, depending on the owner of the cases you’re seeking.

Path parameters

edit
<space_id>
(Optional, string) An identifier for the space. If it is not specified, the default space is used.

Query parameters

edit
owner
(Optional, string or array of strings) A filter to limit the retrieved case statistics to a specific set of applications. Valid values are: cases, observability, and securitySolution. If this parameter is omitted, the response contains all cases that the user has access to read.

Response codes

edit
200
Indicates a successful call.

Examples

edit
GET api/cases/status

The API returns the following type of information:

{
  "count_open_cases": 27,
  "count_in_progress_cases": 50,
  "count_closed_cases": 1198,
}