Skip to content

Create a new timeline

Request

Security
bearerAuth
Bodyapplication/jsonrequired
namestring

The name of the timeline

Example:"Tesla blueprint retrieval"
destination_timestring, (date-time)
Example:"1889-03-10T23:50:00Z"
curl -i -X POST \
  https://aywa-ops-setup.ailytics.ai/_mock/apis/timelines \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Tesla blueprint retrieval",
    "destination_time": "1889-03-10T23:50:00Z"
  }'

Responses

The timeline was created successfully

Bodyapplication/json
idstringread-only

Unique identifier for the timeline

Example:"tml_tesla_mission_1"
namestring

The name of the timeline

Example:"Tesla blueprint retrieval"
destination_timestring, (date-time)
Example:"1889-03-10T23:50:00Z"
created_atstring, (date-time)read-only

The timestamp when the timeline was created

statusstringread-only

The current status of the timeline (open or closed)

Enum:"open""closed"
windowstringread-only

How long the timeline window is open to warp into.

Example:"12 minutes"
Response
{ "id": "tml_tesla_mission_1", "name": "Tesla blueprint retrieval", "destination_time": "1889-03-10T23:50:00Z", "created_at": "2019-08-24T14:15:22Z", "status": "open", "window": "12 minutes" }