This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Export list items
editExport list items
editExports list item values from the specified list container.
Request URL
editPOST <kibana host>:<port>/api/lists/items/_export
URL query parameters
editThe 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
editExports 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.