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

  • name string Required
application/json

Body

  • description string Required
  • include object Required

    Any of:
  • name string Required
  • replaced_patterns array[string] Required
  • version string Required
POST /api/streams/{name}/content/export
curl \
 --request POST 'https://<KIBANA_URL>/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"}'