/monitors/{id}/incidents
GET
/monitors/{id}/incidents
const url = 'https://culipulse.dev/v1/monitors/mon_123/incidents';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://culipulse.dev/v1/monitors/mon_123/incidents \ --header 'Authorization: Bearer <token>'The monitor’s latest 200 incidents, newest first, limited to your plan’s history window (see Plans). An incident that is still open is always listed, however old.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Example
mon_123Responses
Section titled “Responses”Incidents for a monitor
Media typeapplication/json
object
incidents
required
Array<object>
object
Examplegenerated
{ "incidents": [ {} ]}Unauthorized
Media typeapplication/json
object
error
required
string
request_id
string
code
Present on some 400s so a client can branch without parsing error. Known values: channel_limit_reached, too_many_monitors, duplicate_webhook_url.
string
field
The request field the error is about, when there is one.
string
limit
The limit that was hit, when code names one.
integer
Example
{ "error": "not found", "request_id": "req_abc123", "code": "channel_limit_reached"}