URL parameters
The ID of your status page
Headers
Bearer $TOKEN
application/json
Body parameters
The ID of the section which should contain this resource. When omitted, defaults to the first section on the status page.
What widget to display for this resource. Available values:
plain- Only display status.history- Display historical status.intraday_history- Display detailed historical status.response_times- Add a response times chart. Only forMonitororLogsChart.intraday_response_times- Display detailed historical status with a response times chart. Only forMonitororLogsChart.chart_only- Shows just the chart. Only forLogsChart.
Defaults to history, or response_times for a LogsChart. This takes preference over history when both parameters are present.
The ID of the resource you are adding. Leave it out when resource_type is ManuallyTrackedItem, and Better Stack creates the item for you, or when you send catalog_reference.
The type of the resource you are adding. Available values: ManuallyTrackedItem, Monitor, MonitorGroup, Heartbeat, HeartbeatGroup, WebhookIntegration, EmailIntegration, IncomingWebhook, AmazonSnsIntegration, ResourceGroup, LogsChart, CatalogReference. A ThirdPartyService can only be added in the status page editor.
The catalog value this resource shows, as a JSON object with key and value fields. Use it with resource_type CatalogReference instead of resource_id, and Better Stack finds or creates the catalog reference for you. value is a string or an object naming a catalog item, such as {"type": "Team", "name": "Platform"}, in the same shape as a value of mark_as_down_metadata_rule.
The resource name displayed publicly on your status page.
A detailed text displayed as a help icon.
The position of this resource in its section, indexed from zero. If you don't specify a position, we add the resource to the end of the section.
How the resource status is affected when an incident occurs. Possible values: any_incident, no_incident, incident_matching_metadata. Defaults to any_incident.
A rule to match incident metadata. Required when mark_as_down_for is incident_matching_metadata. The rule is a JSON object with a key, the metadata key to match, and values, a non-empty array: an incident whose metadata has any of the values marks the resource down. Each value is either:
- A string, or an object
{"type": "String", "value": "critical"}, for a text value. - An object naming a catalog item by
typeanditem_id, such as{"type": "Policy", "item_id": 12345}.typeis one ofUser,Team,Policy,Schedule,Endpoint,SlackIntegration,LinearIntegration,JiraIntegration,MicrosoftTeamsWebhook,ZapierWebhook,NativeWebhook,PagerDutyWebhook, orSource. Instead ofitem_id, you can name aUserbyemail, and any other type exceptEndpoint,SlackIntegrationandZapierWebhookbyname.
How the resource status is affected when an incident occurs. Possible values: any_incident, no_incident, incident_matching_metadata. Defaults to no_incident.
A rule to match incident metadata, in the same shape as mark_as_down_metadata_rule. Required when mark_as_degraded_for is incident_matching_metadata.
If true, the resource is saved at exactly position and the other resources keep their positions. Defaults to false.
Deprecated, use widget_type instead. true sets widget_type to history and false to plain. Ignored when you also send widget_type.