Sazabi
APIComponents

Get a component status timeline

GET
/components/{componentId}/timeline

Get the dense status timeline and incidents for a component over a time window.

Path Parameters

componentId*string

Component to build the timeline for.

Formatuuid

Query Parameters

windowStart?string

Start of the timeline window. Defaults to 7 days before windowEnd.

Formatdate-time
windowEnd?string

End of the timeline window. Defaults to now.

Formatdate-time

Response Body

application/json

curl -X GET "https://example.com/components/497f6eca-6276-4993-bfeb-53cbbbba6f08/timeline"
{  "componentId": "616ccd92-d666-4180-8349-8d125b269fac",  "windowStart": "2019-08-24T14:15:22Z",  "windowEnd": "2019-08-24T14:15:22Z",  "timeline": [    {      "timestamp": "2019-08-24T14:15:22Z",      "status": "operational"    }  ],  "incidents": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "componentId": "616ccd92-d666-4180-8349-8d125b269fac",      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "severity": "degraded",      "summary": "string",      "startedAt": "2019-08-24T14:15:22Z",      "resolvedAt": "2019-08-24T14:15:22Z"    }  ]}