Import Timelines Beta

POST /api/timeline/_import

Import Timelines.

application/json; Elastic-Api-Version=2023-10-31

Body Required

The Timelines to import as a readable stream.

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    Indicates the import of Timelines was successful.

    Hide response attributes Show response attributes object
  • 400 application/json; Elastic-Api-Version=2023-10-31

    Indicates the import of Timelines was unsuccessful because of an invalid file extension.

    Hide response attributes Show response attributes object
  • 404 application/json; Elastic-Api-Version=2023-10-31

    Indicates that we were unable to locate the saved object client necessary to handle the import.

    Hide response attributes Show response attributes object
  • 409 application/json; Elastic-Api-Version=2023-10-31

    Indicates the import of Timelines was unsuccessful.

    Hide response attributes Show response attributes object
POST /api/timeline/_import
curl \
 -X POST https://<KIBANA_URL>/api/timeline/_import \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "isImmutable": "true"
}
Response examples (200)
{
  "errors": [
    {
      "error": {
        "message": "string",
        "status_code": 42.0
      },
      "id": "string"
    }
  ],
  "success": true,
  "success_count": 42.0,
  "timelines_installed": 42.0,
  "timelines_updated": 42.0
}
Response examples (400)
{
  "body": "string",
  "id": "string",
  "statusCode": 42.0
}
Response examples (404)
{
  "id": "string",
  "statusCode": 42.0
}
Response examples (409)
{
  "body": "string",
  "id": "string",
  "statusCode": 42.0
}