Get Incident Events
GET {{baseUrl}}/incidents/:incidentID/events?offset=1&limit=10&sort=asc&deduped=true
- This endpoint is used to get all the deduped incident events details by either ID or number.
- Requires
access_token
as aBearer {{token}}
in theAuthorization
header.
Query Params:
offset - non zero value
limit - non zero value, maximum is 10
sort - sort it by either asc or desc
deduped - if set to true, it will return only the deduplicated events. if set to false, it will return only the non-deduplicated event, otherwise it will return all the events
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
offset | number | non zero value | |
limit | number | non zero value, maximum is 10 | |
sort | string | sort it by either asc or desc | |
deduped | boolean | if set to true, it will return only the deduped events. |
if set to false, it will return only the non-deduped event.
otherwise it will return all the events |
RESPONSES
status: OK
{"data":{"events":[{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:02.721Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:02.401Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:02.088Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:01.769Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:01.454Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:01.091Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:00.689Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:41:00.24Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}},{"incident_id":"5f6480a22379e9c06df6a32e","alert_source_id":"5e868c596b90eec3d4148737","message":"Memory out of set threshold : 70.1%","description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","time_of_creation":"2020-09-18T09:40:59.689Z","tags":null,"deduplication_reason":{"matched_event_id":"5f6480a2b1bafb2fcccce904","evaluated_expression":"true","time_window":3600},"payload":{"description":"Memory usage of platform pod is above set threshold of 70%\n\nThreshold: 70%\nCurrent usage: 70.1%","event_id":"6","message":"Memory out of set threshold : 70.1%","metric":{"absolute":{"current_value":1.402,"threshold":1.4,"unit":"GB"},"pod":"platform-d23ixi-ug5ty","relative":{"current_value":70.1,"threshold":70},"time":"2020-09-18T09:37:13.607Z"},"status":"trigger"}}]},"meta":{"total":20,"count":10,"current":"https://api.squadcast.com/v3/incidents/5f6480a22379e9c06df6a32e/events?offset=0\u0026limit=10\u0026deduped=true","next":"https://api.squadcast.com/v3/incidents/5f6480a22379e9c06df6a32e/events?deduped=true\u0026limit=10\u0026offset=10"}}