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
| Key | Value | Example |
|---|
| type | csv / json | “csv” |
| start_time | Date in ISO Format | “2020-01-01T00:00:00.000Z” |
| end_time | Date in ISO Format | “2020-04-01T00:00:00.000Z” |
| owner_id | Team ID | “611262a9d5b4ea846b534a3f” |
Incident Filters
| Key | Value | Example |
|---|
| statuses | Array of triggered / resolved / acknowledged / suppressed | [“triggered”, “acknowleged”] |
| tags | Array of tags in format “KEY=VALUE” | [“severity=high”, “severity=low”] |
| sources | Array of Alert Source IDs | [“6077f7225fdc7075e371685f”] |
| services | Array of Service IDs | [62385fb309bc474014180828 ] |
| assigned_to | Array 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"]}}