Incident Export Async

POST {{baseUrl}}/incidents/export/async

  • This is an async API, once the request is made the export will start in our workers. You will get a download link to your registered Email ID once the export is completed

Payload

KeyValueExample
typecsv / json“csv”
start_timeDate in ISO Format“2020-01-01T00:00:00.000Z”
end_timeDate in ISO Format“2020-04-01T00:00:00.000Z”
owner_idTeam ID“611262a9d5b4ea846b534a3f”

Incident Filters

KeyValueExample
statusesArray of triggered / resolved / acknowledged / suppressed[“triggered”, “acknowleged”]
tagsArray of tags in format “KEY=VALUE”[“severity=high”, “severity=low”]
sourcesArray of Alert Source IDs[“6077f7225fdc7075e371685f”]
servicesArray of Service IDs[62385fb309bc474014180828]
assigned_toArray of Assigned to user IDs[625e40c9a9bd76370bf9f7fb]

Request Body

{"owner_id"=>"611262a9d5b4ea846b534a3f", "type"=>"csv", "start_time"=>"2020-01-01T00:00:00.000Z", "end_time"=>"2020-04-01T00:00:00.000Z", "incident_filters"=>{"statuses"=>["triggered", "resolved", "acknowledged"], "tags"=>["severity=high"], "sources"=>["6077f7225fdc7075e371685f", "5a66ecc0d885ede1ea37eb31"], "services"=>["62385fb309bc474014180828"], "assigned_to"=>["625e40c9a9bd76370bf9f7fb"]}}