List incidents.
const url = 'https://api.siteqwality.com/v1/incidents?status=active';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://api.siteqwality.com/v1/incidents?status=active' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”next_cursor from the previous page.
1 to 200, default 50.
Which incidents GET /incident/ returns.
Keyed on the responder lifecycle (responder_status), which is what the
dashboard’s Active and Resolved tabs mean: an incident is active until a
responder resolves it, whatever its public status-page status says.
active (triggered or acknowledged), resolved or all (the default).
Responses
Section titled “ Responses ”The account’s incidents, newest first, with their updates. Read one for its monitors and participants
{"data": [...], "next_cursor": ...}; the /v1 shaping keeps it as is.
object
object
Deprecated: the first page it was created on. status_page_ids lists every page.
Every status page the incident is published on.
The title status pages show; null shows title.
First recorded successful page; absent when no page_sent event exists. Detail endpoints only.
First transition to public monitoring status. Detail endpoints only.
True while nobody acknowledged it and its escalation policy ran out, so nobody owns it. Detail endpoints only.
Who resolved it; null for automatic and API-key resolves.
True when the incident was opened automatically by a monitor state change; false for incidents created manually.
object
The public status when it was posted.
public updates show on status pages; internal ones only here.
Who posted it; null for the system, API keys and older updates.
Deprecated: the http entries of monitors, for one release.
The incident this one was merged into; it is then resolved.
merged for a merged incident, else null.
Every monitor of the incident. Empty on list endpoints.
object
Null when the monitor was deleted.
auto when a failure joined it, manual when someone added it.
Who works it, the lead first. Empty on list endpoints.
object
Who added them; the acknowledger for an automatic lead.
When they were paged on being added; null when they were not.
The incidents merged into this one, each with its own updates. Empty on list endpoints.
An incident merged into this one; its updates stay on it.
object
object
The public status when it was posted.
public updates show on status pages; internal ones only here.
Who posted it; null for the system, API keys and older updates.
Send back as cursor for the next page; null on the last one.
Example
{ "data": [ { "severity": "minor", "status": "investigating", "responder_status": "triggered", "updates": [ { "status": "investigating", "visibility": "public" } ], "monitors": [ { "monitor_type": "http", "impact": "degraded", "source": "auto" } ], "participants": [ { "role": "lead" } ], "merged_from": [ { "updates": [ { "status": "investigating", "visibility": "public" } ] } ] } ]}Invalid limit, cursor or status
An RFC 9457 problem, the body of every /v1 error.
object
https://docs.siteqwality.com/errors/ and the failure’s code, such as not_found.
urn:uuid: and the request id.
The invalid fields, when the request body was refused.
One validation failure; pointer is an RFC 6901 pointer into the request body.
object
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "errors": [ { "pointer": "example", "detail": "example" } ]}Missing or invalid credentials
An RFC 9457 problem, the body of every /v1 error.
object
https://docs.siteqwality.com/errors/ and the failure’s code, such as not_found.
urn:uuid: and the request id.
The invalid fields, when the request body was refused.
One validation failure; pointer is an RFC 6901 pointer into the request body.
object
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "errors": [ { "pointer": "example", "detail": "example" } ]}The key or member may not do this, or lacks the scope it needs
An RFC 9457 problem, the body of every /v1 error.
object
https://docs.siteqwality.com/errors/ and the failure’s code, such as not_found.
urn:uuid: and the request id.
The invalid fields, when the request body was refused.
One validation failure; pointer is an RFC 6901 pointer into the request body.
object
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "errors": [ { "pointer": "example", "detail": "example" } ]}Too many requests; wait for the time in Retry-After
An RFC 9457 problem, the body of every /v1 error.
object
https://docs.siteqwality.com/errors/ and the failure’s code, such as not_found.
urn:uuid: and the request id.
The invalid fields, when the request body was refused.
One validation failure; pointer is an RFC 6901 pointer into the request body.
object
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "errors": [ { "pointer": "example", "detail": "example" } ]}