Get draft Timeline or Timeline template details

GET /api/timeline/_draft

Get the details of the draft Timeline or Timeline template for the current user. If the user doesn't have a draft Timeline, an empty Timeline is returned.

Query parameters

  • timelineType string | null Required

    The type of Timeline.

    Values are default or template.

Responses

GET /api/timeline/_draft
curl \
 --request GET 'http://api.example.com/api/timeline/_draft?timelineType=default' \
 --header "Authorization: $API_KEY"