---
type: api
title: "Get case status summary"
description: "Returns the number of cases that are open, closed, and in progress. Deprecated in 8.1.0. This API is deprecated and will be removed in a future release; use the find cases API instead. 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."
url: https://www.elastic.co/elastic/docs-builder/docs/5066/api/kibana/v8/operation/operation-getcasestatusdefaultspace
resource: https://www.elastic.co/elastic/docs-builder/docs/5066/api/kibana/v8/operation/operation-getcasestatusdefaultspace
products:
  - Kibana
---

# Get case status summary

deprecated

Authentication: required

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/cases/status`
- `GET` `/s/{space_id}/api/cases/status`

#### Path parameters

- `space_id` (string) — optional
  An identifier for the space. If `space_id` is not provided in the URL, the default space is used. Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

## Description

Returns the number of cases that are open, closed, and in progress. Deprecated in 8.1.0. This API is deprecated and will be removed in a future release; use the find cases API instead. 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.

## Query string parameters

- `owner` (union oneOf) — optional
  A filter to limit the response to a specific set of applications. If this parameter is omitted, the response contains information about all the cases that the user has access to read.
  Values: `cases`, `observability`, `securitySolution`

## Responses

#### `200`

Indicates a successful call.

`application/json`

- `count_closed_cases` (integer)
- `count_in_progress_cases` (integer)
- `count_open_cases` (integer)
#### `401`

Authorization information is missing or invalid.

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (integer)
## Code examples

#### Console

```console
GET kbn:/api/cases/status
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/cases/status" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "count_closed_cases": 0,
  "count_in_progress_cases": 0,
  "count_open_cases": 0
}
```

#### 401

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "error": "Unauthorized",
  "message": "string",
  "statusCode": 401
}
```

