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

# Get exception list details

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

## Paths

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

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#basicauth)

## Description

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

Get the details of an exception list using the `id` or `list_id` field.

## Query String Parameters

- `id` (string · min: 1)
  Either `id` or `list_id` must be specified
- `list_id` (string · min: 1)
  Either `id` or `list_id` must be specified
- `namespace_type` (enum)
  Values: `agnostic`, `single`

## Responses

#### `200`

Successful response

`application/json`

- `_version` (string)
- `created_at` (string)
- `created_by` (string)
- `description` (string)
- `id` (string · min: 1)
  A string that does not contain only whitespace characters
- `immutable` (boolean)
- `list_id` (string · min: 1)
  A string that does not contain only whitespace characters
- `meta` (object)
- `name` (string)
- `namespace_type` (enum)
  Determines whether the exception container is available in all Kibana spaces or just the space
in which it is created, where:

- `single`: Only available in the Kibana space in which it is created.
- `agnostic`: Available in all Kibana spaces.
  Values: `agnostic`, `single`
- `os_types` ([] object)
  Values: `linux`, `macos`, `windows`
- `tags` ([] object)
- `tie_breaker_id` (string)
- `type` (enum)
  Values: `detection`, `rule_default`, `endpoint`, `endpoint_trusted_apps`, `endpoint_events`, `endpoint_host_isolation_exceptions`, `endpoint_blocklists`
- `updated_at` (string)
- `updated_by` (string)
- `version` (integer · min: 1)
#### `400`

Invalid input data response

`application/json`

One of:
- **PlatformErrorResponse**
  - `error` (string)
  - `message` (string)
  - `statusCode` (integer)
- **SiemErrorResponse**
  - `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 item 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 /api/exception_lists
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/exception_lists"
```

