v53

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

Favorite a Timeline or Timeline template

Spaces method and path for this operation:

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

Refer to Spaces for more information.

Favorite a Timeline or Timeline template for the current user.

patch/api/timeline/_favorite

Request body

templateTimelineIdstring nullable required
templateTimelineVersionnumber nullable required
timelineIdstring nullable required
timelineType'default' | 'template' required

The type of Timeline.

Response

Indicates a successful call.

savedObjectIdstring required
templateTimelineIdstring nullable
templateTimelineVersionnumber nullable
timelineType'default' | 'template'

The type of Timeline.

versionstring required

Example response

{
  "favorite": [
    {
      "favoriteDate": 1741337636741,
      "userName": "elastic"
    }
  ]
}