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

# Get Elastic Endpoint exception list items

Authentication: required

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

## Paths

- `GET` `/api/endpoint_list/items/_find`
- `GET` `/s/{space_id}/api/endpoint_list/items/_find`

#### 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

Get a list of all Elastic Endpoint exception list items.

## Query string parameters

- `filter` (string · format: nonempty · min length: 1) — optional
  Filters the returned results according to the value of the specified field,
using the `<field name>:<field value>` syntax.
- `page` (integer · min: 0) — optional
  The page number to return
- `per_page` (integer · min: 0) — optional
  The number of exception list items to return per page
- `sort_field` (string · format: nonempty · min length: 1) — optional
  Determines which field is used to sort the results
- `sort_order` (enum) — optional
  Determines the sort order, which can be `desc` or `asc`
  Values: `desc`, `asc`

## Responses

#### `200`

Successful response

`application/json`

- `data` (object[])
  - `_version` (string)
  - `comments` (object[])
    - `comment` (string · format: nonempty · min length: 1)
      A string that does not contain only whitespace characters
    - `created_at` (string · format: date-time)
    - `created_by` (string · format: nonempty · min length: 1)
      A string that does not contain only whitespace characters
    - `id` (string · format: nonempty · min length: 1)
      A string that does not contain only whitespace characters
    - `updated_at` (string · format: date-time)
    - `updated_by` (string · format: nonempty · min length: 1)
      A string that does not contain only whitespace characters
  - `created_at` (string · format: date-time)
  - `created_by` (string)
  - `description` (string)
  - `entries` (union[])
  - `expire_time` (string · format: date-time)
  - `id` (string · format: nonempty · min length: 1)
    A string that does not contain only whitespace characters
  - `item_id` (string · format: nonempty · min length: 1)
    A string that does not contain only whitespace characters
  - `list_id` (string · format: nonempty · min length: 1)
    A string that does not contain only whitespace characters
  - `meta` (object)
  - `name` (string · format: nonempty · min length: 1)
    A string that does not contain only whitespace characters
  - `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` (enum[])
    Values: `linux`, `macos`, `windows`
  - `tags` (string[] · format: nonempty)
  - `tie_breaker_id` (string)
  - `type` (enum)
    Values: `simple`
  - `updated_at` (string · format: date-time)
  - `updated_by` (string)
- `page` (integer · min: 0)
- `per_page` (integer · min: 0)
- `pit` (string)
- `total` (integer · min: 0)
#### `400`

Invalid input data

`application/json`

One of:
- **PlatformErrorResponse**
  - `error` (string)
  - `message` (string)
  - `statusCode` (integer)
- **SiemErrorResponse**
  - `message` (string)
  - `status_code` (integer)
#### `401`

Unsuccessful authentication

`application/json`

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

Insufficient privileges

`application/json`

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

Endpoint list not found

`application/json`

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

Internal server error

`application/json`

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

#### Console

```console
GET kbn:/api/endpoint_list/items/_find
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/endpoint_list/items/_find" \
  -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
{
  "data": [
    {
      "_version": "string",
      "comments": [
        {
          "comment": "string",
          "created_at": "string",
          "created_by": "string",
          "id": "string",
          "updated_at": "string",
          "updated_by": "string"
        }
      ],
      "created_at": "string",
      "created_by": "string",
      "description": "string",
      "entries": [
        {
          "field": "string",
          "operator": "excluded",
          "type": "match",
          "value": "string"
        }
      ],
      "expire_time": "string",
      "id": "string",
      "item_id": "string",
      "list_id": "string",
      "meta": {},
      "name": "string",
      "namespace_type": "agnostic",
      "os_types": [
        "linux"
      ],
      "tags": [
        "string"
      ],
      "tie_breaker_id": "string",
      "type": "simple",
      "updated_at": "string",
      "updated_by": "string"
    }
  ],
  "page": 0,
  "per_page": 0,
  "pit": "string",
  "total": 0
}
```

#### 400

`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": "string",
  "message": "string",
  "statusCode": 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": "string",
  "message": "string",
  "statusCode": 0
}
```

#### 403

`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": "string",
  "message": "string",
  "statusCode": 0
}
```

#### 404

`application/json`

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

```json
{
  "message": "string",
  "status_code": 0
}
```

#### 500

`application/json`

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

```json
{
  "message": "string",
  "status_code": 0
}
```

