Export list items

edit

Exports list item values from the specified list container.

The Kibana Console supports only Elasticsearch APIs. You cannot interact with the Kibana APIs with the Console and must use curl or another HTTP tool instead. For more information, refer to Console.

Request URL

edit

POST <kibana host>:<port>/api/lists/items/_export

URL query parameters

edit

The URL query must include the list container’s id:

id - POST /api/lists/items/_export?list_id=<id>

If you want to to use cURL to export rules to a file, use the -o option to specify a file name.

Example request

edit

Exports the values of the external-ip-excludes list container:

POST api/lists/items/_export?list_id=external-ip-excludes

Response code

edit
200
Indicates a successful call.