GET
https://uptime.betterstack.com/api/v2/prometheus-integrations
Headers
Authorization
required
string
Bearer $TOKEN
Returns a list of all your Prometheus integrations. This endpoint supports pagination.
Headers
Bearer $TOKEN
Returns list of existing Prometheus integrations
Response body
{
"data": [
{
"id": "37",
"type": "prometheus_integration",
"attributes": {
"call": false,
"sms": false,
"email": true,
"team_wait": 180,
"recovery_period": null,
"policy_id": null,
"push": true,
"name": "Prometheus Integration",
"paused": false,
"webhook_url": "https://uptime.betterstack.dev/api/v1/prometheus/webhook/[token]",
"team_name": "Testing"
}
}
],
"pagination": {
"first": "https://uptime.betterstack.com/api/v2/prometheus-integrations?page=1",
"last": "https://uptime.betterstack.com/api/v2/prometheus-integrations?page=1",
"prev": null,
"next": null
}
}
curl --request GET \
--url https://uptime.betterstack.com/api/v2/prometheus-integrations \
--header "Authorization: Bearer $TOKEN"
Explore the list of all Prometheus integration API parameters