Integration
Connect Better Stack to PostgreSQL
When something happens in Better Stack, your agent does the next thing in PostgreSQL. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Better Stack and PostgreSQL to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Better Stack and PostgreSQL
Triggers and actions 7 triggers ยท 19 actions
Trigger
New Monitor Status ChangeFires when a monitor's status changes (up/down). Poll GET https://uptime.betterstack.com/api/v2/monitors and detect status transitions, or use vendor status-change webhook if available.
Trigger
New or Updated IncidentTriggers when new incidents are created, or when existing incidents are updated.
Trigger
On-Call Contact ChangedTriggers when an on-call contact changes.
Action
Acknowledge IncidentAcknowledges an incident.
Action
Add HeartbeatCreate a new heartbeat check. POST https://uptime.betterstack.com/api/v2/heartbeats
Action
Add Incident CommentAdds a comment to an incident.
Action
Add MonitorCreate a new uptime monitor. POST https://uptime.betterstack.com/api/v2/monitors
Action
Create IncidentCreates an incident that notifies the team.
Action
Delete HeartbeatRemove a heartbeat check by id. DELETE https://uptime.betterstack.com/api/v2/heartbeats/{id}
Action
Delete MonitorDelete an uptime monitor by id. DELETE https://uptime.betterstack.com/api/v2/monitors/{id}
Action
Find IncidentFinds an Incident.
Action
Find On-Call ContactFinds On-Call Contact. Supports time lookup.
Action
Get MonitorRetrieve a single monitor by id. GET https://uptime.betterstack.com/api/v2/monitors/{id}
Action
List MonitorsList all uptime monitors. GET https://uptime.betterstack.com/api/v2/monitors (paginated)
Action
Resolve IncidentResolves an incident.
Action
Update MonitorUpdate an existing monitor's settings. PATCH https://uptime.betterstack.com/api/v2/monitors/{id}
Trigger
New or Updated RowTriggers when a new row is added or modified.
Trigger
New or Updated Row (Custom Query)Fires for each new or changed row returned by a SELECT statement you write against the connected PostgreSQL database.
Trigger
New RowTriggers when you add a new row.
Trigger
New TableFires when a new table appears in the connected PostgreSQL database.
Action
Add RowAdds a new row.
Action
Delete RowDelete the rows in a table whose chosen column equals a value.
Action
Find RowFinds a row in a table via a lookup column.
Action
Find Rows via Custom QueryRuns a SELECT statement you write against the connected PostgreSQL database and returns every row it matches.
Action
Find Row via Custom QueryRuns a SELECT statement you write against the connected PostgreSQL database and returns the first row it matches.
Action
Update RowUpdates an existing row.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.
Each app on its own
Reviews