Get an incident.
const url = 'https://api.siteqwality.com/v1/incidents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The incident with its updates, monitors and participants
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.
Example
{ "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" } ] } ]}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" } ]}No such incident in this account
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" } ]}