Integration
Connect Better Stack to Transport for Spain
When something happens in Better Stack, your agent does the next thing in Transport for Spain. 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 Transport for Spain 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 Transport for Spain
Triggers and actions 3 triggers · 16 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}
Action
Find records by queryFind transport data records matching a free-text search term (CKAN datastore_search with a query parameter).
Action
List recordsList transport data records from Renfe's open-data resource, with optional paging (CKAN datastore_search).
Action
Query records via SQLRun a read-only SQL SELECT statement against Renfe's open-data resource (CKAN datastore_search_sql).
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.