Export stream content

POST /api/streams/{name}/content/export

Exports the content associated to a stream.

[Required authorization] Route required privileges: manage_stream.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

application/json

Body

POST /api/streams/{name}/content/export
curl \
 --request POST 'https://localhost:5601/api/streams/{name}/content/export' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: true" \
 --data '{"description":"string","include":{"objects":{"dashboards":["string"]}},"name":"string","replaced_patterns":["string"],"version":"string"}'