Get Incidents Status By RequestIDs
POST {{baseUrl}}/requests/status
- This endpoint is used to get the status of incidents given list of request_ids
- Requires
access_tokenas aBearer {{token}}in theAuthorizationheader.
Response
- The response contains the mapping from
request_idsto incident status. statusfield can be one of -suppressed,discarded,deduplicated,created,error.- status is
errorif therequest_idis invalid. Bothincident_idandevent_idfield won't be present ifstatusiserror - status is
suppressedif the incident was suppressed due to suppression rules. - status is
deduplicatedif the incident was deduplicated due to deduplication rules. - status is
discardedif the incident was discarded due to some deduplication rule.incident_idfield won't be present ifstatusisdiscarded. - otherwise, the status is
created
Request Body
{"request_ids"=>["e7fdb900-cf52-47ac-bb5a-3c5fcdf265e1", "e7fdb900-cf52-47ac-bb5a-3c5fcdf265e7"]}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"requests_status":{"e7fdb900-cf52-47ac-bb5a-3c5fcdf265e1":{"status":"created","incident_id":"624315646e3bcf000887304a","event_id":"6243156476faaf4887c447b3"},"a6f876f2-ddf6-4a11-a2c4-f182a3f95922":{"status":"deduplicated","incident_id":"624315190996cb00083beb4e","event_id":"62431519d08fc1d0f63f485f"},"a6f876f2-ddf6-4a11-a2c4-f182a3f95923":{"status":"suppressed","incident_id":"624315190996cb00083beb4f","event_id":"62431519d08fc1d0f63f485a"},"a6f876f2-ddf6-4a11-a2c4-f182a3f95924":{"status":"discarded","event_id":"62431519d08fc1d0f63f485b"},"INVALID_REQUEST_ID":{"status":"error"}},"meta":{"error_count":1,"success_count":4}}