---
type: api
title: Get an exception list summary
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-readexceptionlistsummary
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-readexceptionlistsummary
products:
  - Kibana
---

# Get an exception list summary

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

## Paths

- `GET` `/api/exception_lists/summary`
- `GET` `/s/{space_id}/api/exception_lists/summary`

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get a summary of the specified exception list.

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Query string parameters

- `id` (string · format: nonempty · min length: 1) — optional
  Exception list's identifier generated upon creation
- `list_id` (string · format: nonempty · min length: 1) — optional
  Exception list's human readable identifier
- `namespace_type` (enum) — optional
  Values: `agnostic`, `single`
- `filter` (string) — optional
  Search filter clause

## Responses

#### `200`

Successful response

`application/json`

- `linux` (integer · min: 0)
- `macos` (integer · min: 0)
- `total` (integer · min: 0)
- `windows` (integer · min: 0)
#### `400`

Invalid input data response

`application/json`

One of:
- **{ error, statusCode }**
  - `error` (string)
  - `message` (string)
  - `statusCode` (integer)
- **{ status_code }**
  - `message` (string)
  - `status_code` (integer)
#### `401`

Unsuccessful authentication response

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (integer)
#### `403`

Not enough privileges response

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (integer)
#### `404`

Exception list not found response

`application/json`

- `message` (string)
- `status_code` (integer)
#### `500`

Internal server error response

`application/json`

- `message` (string)
- `status_code` (integer)
## Code examples

#### Console

```console
GET kbn:/api/exception_lists/summary
```

#### curl

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

