Hear about downed Better Stack monitors right in chat
Connect Better Stack to the AI agent: uptime monitors, incidents, heartbeats and status pages. The agent lists failing monitors and reviews night outages.
How the agent works with Better Stack
The agent calls the Better Stack Uptime API — it reads monitors and their state, incidents together with their history, heartbeats, status pages and on-call schedules. Out of that a picture comes together: what is down, pending or paused right now, when the last check happened, what went down overnight and for how long, who is on call at this moment and what customers see on the public status page at the same time.
A monitor state and an incident are different things, and the agent does not conflate them: a paused monitor is not checked and creates no incidents, so it is named separately in the summary rather than dissolving among the healthy ones. A heartbeat works the other way round — the alarm is the absence of a signal, and a quiet background job looks fine until its expected window runs out, so the agent looks at the time of the last check, not only at the colour of the status.
By default the agent does not write: it reads monitors and incidents and reports in chat, and it will not create a monitor, change one or take one off pause without an explicit request from you. Incidents arrive over a webhook — creation, acknowledgement and resolution are seen immediately — but that webhook carries no verified signature, so the agent treats a notification as a reason to re-read the state through the API and drops repeat deliveries by the incident identifier.
The token itself bounds the selection: a team key returns the monitors of one team, and the agent names that boundary out loud rather than passing a part of the account off as the whole. Check and incident history comes back in pages windowed by time, so a long period is assembled in parts with the agent pacing its own requests instead of hitting the limit halfway through a report. If a section is closed off by the token rights or there simply is no data for the period, it says so directly instead of showing an empty table.
Integration scenarios
What is down right now
The agent walks every monitor and names the ones currently down, pending or paused, with the time of the last check.
Incidents in your work chat
The agent posts to chat the moment an incident is created, acknowledged or resolved, with no waiting for an email or an escalation call.
Night outage review
The agent puts together a morning summary: what went down overnight, for how long and which monitors were left switched off.
On-call rota and status page
The agent shows who is on call right now per the on-call schedule and what customers see on the status page at that moment.
Quiet background jobs
The agent checks the heartbeats and names the jobs that have gone silent, with the time of the last ping and how much of the expected window is left.
Who got paged the most
The agent walks a month of incident history: how often each monitor went down, how long the downtime ran and which checks pulled the on-call engineer out most.
Better Stack examples
Два инцидента за ночь, суммарный простой 11 минут.
- api.checkout — down 03:12, закрыт автоматически через 4 минуты
- Монитор «Почтовый воркер» стоит на паузе с прошлого вторника
How to connect
Before you connect
- A Better Stack account with Uptime monitors already set up.
- A webhook for incident events — otherwise the agent polls on a schedule.
- 1
Sign in with the Admin role
Only the Admin role manages tokens here: Team lead, Responder and Member cannot create one — ask your team owner to raise your role first.
- 2
In the Better Stack dashboard open API tokens
In the Better Stack dashboard open “API tokens”. It has two blocks: Global API tokens works across all your teams, “Team-based tokens” is scoped to one team.
- 3
Pick the team under Team-based tokens
Under “Team-based tokens” select the team and find the “Uptime API tokens” block. For several teams take a “Global API token” instead.
FAQ
With an API token: open API tokens in the dashboard, a section available to the Admin role only. Under Team-based tokens pick a team and take the value from Uptime API tokens: it sees that team monitors only, and covering several teams needs a Global API token.
Uptime monitors and their state, incidents and their history, heartbeats, status pages and on-call schedules of the team whose token is connected.
Over a webhook: the agent receives incident created, acknowledged and resolved events immediately and can post about them in your work chat without polling on a schedule.
Not by default: the agent reads monitors and incidents and reports in chat. It will not create or change monitors without an explicit request from you.