v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
Security Timeline API

Import Timelines

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/timeline/_import</span></div>

Refer to Spaces for more information.

Import Timelines.

post/api/timeline/_import

Request body

{"stackTrail":"paths:/api/timeline/_import:post:requestBody:content:application/json:schema:properties:file","oasType":"schema","type":"unknown"}
isImmutable'true' | 'false'

Whether the Timeline should be immutable

Response

Indicates a successful call.

successboolean

Indicates whether any of the Timelines were successfully imports

success_countnumber

The amount of successfully imported/updated Timelines

timelines_installednumber

The amount of successfully installed Timelines

timelines_updatednumber

The amount of successfully updated Timelines

Example response

{
  "errors": [
    {
      "error": {
        "message": "Malformed JSON",
        "status_code": 400
      },
      "id": "6ce1b592-84e3-4b4a-9552-f189d4b82075"
    }
  ],
  "success_count": 99,
  "timelines_installed": 80,
  "timelines_updated": 19
}