Create a status report
Publish an incident or scheduled maintenance report on a status page. Give it a title, the affected_resources and their status, and for maintenance a starts_at and ends_at window. The first status update is created from the same request.
The ID of the status page the status report belongs to.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Bearer $TOKEN
application/json
Report title.
Text of the report's first status update.
Type of report. Can't be changed after create.
Valid values:manual: A report you write and update yourself.maintenance: A report of planned maintenance between starts_at and ends_at.automatic: A report opened automatically when a resource went down. You can't create one with the API.
When the report starts. For a maintenance report, when the maintenance window starts. For any other report, the published_at of its first status update. Defaults to now on create. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
When the report ends, or null when it has no end time. A maintenance report always has one, no earlier than starts_at. A manual report has no end time, so this has no effect on one. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
Affected resources and their current states. The status is resolved, degraded or downtime on a manual report, or maintenance on a maintenance report. A new manual report has at least one.
The ID of the status page resource, from List status page resources.
The resource's status, resolved, degraded, downtime or maintenance.
When the first status update is published. Defaults to now. For a maintenance report, it's always starts_at. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
Whether to notify subscribers of the first status update. Subscribers aren't notified about a maintenance report whose window is already over.
{
"data": {
"id": "123456789",
"type": "status_report",
"attributes": {
"status_page_id": 123456,
"title": "Status report title",
"report_type": "manual",
"starts_at": "2021-12-17T11:00:00.000Z",
"ends_at": "2021-12-17T12:00:00.000Z",
"affected_resources": [
{
"status_page_resource_id": "12345",
"status": "downtime"
}
],
"aggregate_state": "downtime"
},
"relationships": {
"status_updates": {
"data": [
{
"id": "12345",
"type": "status_update"
}
]
}
}
},
"included": [
{
"id": "12345",
"type": "status_update",
"attributes": {
"status_report_id": 12345,
"message": "Status update message",
"affected_resources": [
{
"status_page_resource_id": "12345",
"status": "downtime"
}
],
"published_at": "2021-12-17T11:00:00.000Z",
"published_at_timezone": "UTC",
"notify_subscribers": false
}
}
]
}
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
{
"errors": "This API token is read-only and cannot be used for write operations."
}
Returns the newly created status report.
The API token is missing or invalid.
The token is read-only, your role doesn't allow the action, or the token can't be used for this API.
An affected_resources entry names a resource that isn't on this status page.
Validation failed, an attribute is unknown, or report_type or an affected status is unsupported.
The ID of the status report.
Always status_report.
Status page this report belongs to.
Report title.
Type of report. Can't be changed after create.
Valid values:manual: A report you write and update yourself.maintenance: A report of planned maintenance between starts_at and ends_at.automatic: A report opened automatically when a resource went down. You can't create one with the API.
When the report starts. For a maintenance report, when the maintenance window starts. For any other report, the published_at of its first status update. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
When the report ends, or null when it has no end time. A maintenance report always has one, no earlier than starts_at. A manual report has no end time, so this has no effect on one. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
Affected resources and their current states. The status is resolved, degraded or downtime on a manual report, or maintenance on a maintenance report. A new manual report has at least one.
The ID of the status page resource, from List status page resources.
The resource's status, resolved, degraded, downtime or maintenance.
Overall state of the report.
Valid values:resolved: Every resource the report covers is back to normal.degraded: A resource the report covers is degraded and none is down.downtime: A resource the report covers is down.maintenance: The resources the report covers are under maintenance.
Status updates posted to this report. Get, create and update also return each update in full under included, as Get a status update returns it, while listing reports returns only their ids. On a maintenance report, each update's affected_resources is empty.
ID of the linked status update.
Always status_update.
Each linked status update, with its id, type and attributes.
ID of the linked status update.
Always status_update.
For a status_update record, the status update's attributes, the same as getting the status update returns.
Example cURL