List all alerts for your account.
This endpoint supports a number of filters, which can help find alerts matching certain criteria. These filters work similarly to the filters on the incidents endpoint, where a field is specified alongside a comparison operator in the query string.
Note that:
Find all alerts with deduplication_key ABC:
curl —get ‘https://api.incident.io/v2/alerts’
—data ‘deduplication_key[is]=ABC’
Find all alerts in a firing state:
curl —get ‘https://api.incident.io/v2/alerts’
—data ‘status[one_of]=firing’
Find all alerts that follow specified date parameters for created_at field. Possible values are “gte” (greater than or equal to), “lte” (less than or equal to), and “date_range” (between two dates). The following example finds all alerts created after 2025-01-01:
curl —get ‘https://api.incident.io/v2/alerts’
—data ‘created_at[gte]=2025-01-01’
To find alerts created within a specific date range, use the date_range option with tilde-separated dates:
curl —get ‘https://api.incident.io/v2/alerts’
—data ‘created_at[date_range]=2024-12-02~2024-12-08’
Number of alerts to return per page
1 <= x <= 5025
If provided, pass this as the 'after' param to load the next page
"01FCNDV6P870EA6S7TK1DSYDG0"
Filter on alert deduplication key. The accepted operator is 'is'.
{ "is": ["01GBSQF3FHF7FWZQNWGHAVQ804"] }Filter on alert status. The accepted operators are 'one_of', or 'not_in'.
{ "one_of": ["firing"] }Filter on alert created at timestamp. Accepted operators are 'gte', 'lte' and 'date_range'.
{ "gte": ["2025-01-01"] }OK response.
[
{
"alert_source_id": "01GW2G3V0S59R238FAHPDS1R66",
"attributes": [
{
"array_value": [
{
"catalog_entry": {
"catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0",
"id": "01FCNDV6P870EA6S7TK1DSYDG0",
"name": "Primary On-call"
},
"label": "Payments Team",
"literal": "SEV123"
}
],
"attribute": {
"array": false,
"id": "01GW2G3V0S59R238FAHPDS1R66",
"name": "service",
"required": false,
"type": "CatalogEntry[\"01GW2G3V0S59R238FAHPDS1R67\"]"
},
"value": {
"catalog_entry": {
"catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0",
"id": "01FCNDV6P870EA6S7TK1DSYDG0",
"name": "Primary On-call"
},
"label": "Payments Team",
"literal": "SEV123"
}
}
],
"created_at": "2021-08-17T13:28:57.801578Z",
"deduplication_key": "4293868629",
"description": "CPU on the payments service has exceeded 75 percent for 5 minutes",
"id": "01GW2G3V0S59R238FAHPDS1R66",
"resolved_at": "2021-08-17T14:28:57.801578Z",
"source_url": "https://www.my-alerting-platform.com/alerts/my-alert-123",
"status": "firing",
"title": "*errors.withMessage: PG::Error failed to connect",
"updated_at": "2021-08-17T13:28:57.801578Z"
}
]{
"after": "01FCNDV6P870EA6S7TK1DSYDG0",
"page_size": 25
}