Better Stack

{/* Generated by scripts/generate-integration-catalog.mjs. Do not edit by hand. */}

At a glance

Credentials

Set these per environment. See Connect an integration.

VariableRequiredDescription
BETTERSTACK_API_TOKENYesBetter Stack Uptime API token (global token or team-scoped Uptime token) Docs.

Setup

  1. Sign up for Better Stack: Create a free account at https://betterstack.com and add at least one uptime monitor or heartbeat so the API returns data.
  2. Create an API token: In Better Stack go to API tokens. Use a global API token, or create a team-scoped token in the 'Uptime API tokens' section.
  3. Set the environment variable: Add the token to your .env as BETTERSTACK_API_TOKEN=...
  4. Verify access: Run List Monitors.

Provider notes

  • This connector covers the Uptime API (uptime.betterstack.com) only - the Telemetry/Logs API uses a different token and host and is not included
  • Responses follow JSON:API: items are under data[] with attributes, pagination links under pagination
  • Incidents use the newer /api/v3 path; monitors and heartbeats use /api/v2

Provider API reference.

Tools

ToolAccessDescription
List Monitors<br /><code className="reference-identifier">betterstack__list_monitors</code>ReadList monitors
Get Monitor<br /><code className="reference-identifier">betterstack__get_monitor</code>ReadGet monitor
Get Monitor Availability<br /><code className="reference-identifier">betterstack__get_monitor_sla</code>ReadGet monitor availability
List Incidents<br /><code className="reference-identifier">betterstack__list_incidents</code>ReadList incidents
List Heartbeats<br /><code className="reference-identifier">betterstack__list_heartbeats</code>ReadList heartbeats

Verify the connection

Call a read tool such as betterstack__list_monitors with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.