Get case status APIedit

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

For the most up-to-date API details, refer to the open API specification.

Deprecated in 8.1.0.

Requestedit

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

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

Prerequisitesedit

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 parametersedit

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

Query parametersedit

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 codesedit

200
Indicates a successful call.

Examplesedit

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,
}