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

# Get list items

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

## Paths

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

- [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 all list items in the specified list.

## Query String Parameters

- `list_id` (string · min: 1)
  List's id
- `page` (integer)
  The page number to return
- `per_page` (integer)
  The number of list items to return per page
- `sort_field` (string · min: 1)
  Determines which field is used to sort the results
- `sort_order` (enum)
  Determines the sort order, which can be `desc` or `asc`
  Values: `desc`, `asc`
- `cursor` (string · min: 1)
  Returns the list that come after the last list returned in the previous call
(use the cursor value returned in the previous call). This parameter uses
the `tie_breaker_id` field to ensure all lists are sorted and returned correctly.
- `filter` (string)
  Filters the returned results according to the value of the specified field,
using the <field name>:<field value> syntax.

## Responses

#### `200`

Successful response

`application/json`

- `cursor` (string · min: 1)
  A string that does not contain only whitespace characters
- `data` ([] object)
  - `_version` (string)
  - `@timestamp` (string)
  - `created_at` (string)
  - `created_by` (string)
  - `id` (string · min: 1)
    A string that does not contain only whitespace characters
  - `list_id` (string · min: 1)
    A string that does not contain only whitespace characters
  - `meta` (object)
  - `tie_breaker_id` (string)
  - `type` (enum)
    Values: `binary`, `boolean`, `byte`, `date`, `date_nanos`, `date_range`, `double`, `double_range`, `float`, `float_range`, `geo_point`, `geo_shape`, `half_float`, `integer`, `integer_range`, `ip`, `ip_range`, `keyword`, `long`, `long_range`, `shape`, `short`, `text`
  - `updated_at` (string)
  - `updated_by` (string)
  - `value` (string · min: 1)
    A string that does not contain only whitespace characters
- `page` (integer · min: 0)
- `per_page` (integer · min: 0)
- `total` (integer · min: 0)
#### `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)
#### `500`

Internal server error response

`application/json`

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

#### Console

```console
GET /api/lists/items/_find?list_id={list_id}
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/lists/items/_find?list_id={list_id}"
```

