Spaces method and path for this operation:
post /s/{space_id}/api/timeline/_export
Refer to Spaces for more information.
Export Timelines as an NDJSON file.
POST
/api/timeline/_export
curl \
--request POST 'https://<KIBANA_URL>/api/timeline/_export?file_name=string' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"ids":["15c1929b-0af7-42bd-85a8-56e234cc7c4e"]}'
Request example
{
"ids": [
"15c1929b-0af7-42bd-85a8-56e234cc7c4e"
]
}
Response examples (200)
{"savedObjectId":"15c1929b-0af7-42bd-85a8-56e234cc7c4e","version":"WzE0LDFd","title":"Investigation","timelineType":"default"}
Response examples (400)
{
"body": "Export limit exceeded",
"statusCode": 400
}