For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Outages from Custom Monitors

The Incidents endpoint is used to get the outages in the custom monitor for the last month.

Get outages of a custom monitor for the last 30 days

GET https://isdown.app/api/v2/custom_monitors/{custom_monitor_id}/incidents

Path Parameters

Name
Type
Description

custom_monitor_id*

Integer

ID for the custom monitor. Get the id from the url of the custom monitor. E.g., https://isdown.app/all-company/monitors/105 it's 105.

Headers

Name
Type
Description

Authorization*

String

Bearer API_KEY

{
    "data": [
        {
            "id": "9878",
            "type": "custom_monitor_incident",
            "attributes": {
                "description": "Down in North America, Asia with HTTP status code 504",
                "created_at": "2024-08-17T17:22:44.670Z",
                "resolved_at": "2024-08-17T17:23:19.808Z",
                "updated_at": "2024-08-17T17:22:44.670Z",
                "resolved": true,
                "custom_monitor_url": "https://isdown.app/all-company/monitors/1"
            }
        }
    ]
}
{
    "errors": [
        {
            "status": 401,
            "title": "Unauthorized access",
            "detail": "You are not authorized to access this resource"
        }
    ]
}

Last updated