# Better Stack

Better Stack provides monitoring, logging, and incident management solutions to help teams ensure the reliability and performance of their applications.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Better Stack** authenticates with an API key. Generate the credential in your Better Stack account, then paste it into FlyMyAI the first time an agent uses a Better Stack action.

[Get your Better Stack credential →](https://betterstack.com/settings/global-api-tokens)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Better Stack API Token` | The API token used for authenticating requests to the Better Stack API. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `BETTER_STACK_CREATE_ESCALATION_POLICY` | Tool to create a new escalation policy. use when defining how incidents should escalate across team members. | `name`, `steps` |
| `BETTER_STACK_CREATE_HEARTBEAT_GROUP` | Tool to create a new heartbeat group. use when you need to organize related heartbeat checks under a single, logical group. example prompt: "create a new heartbeat group named 'backend services'." | `name` |
| `BETTER_STACK_CREATE_OUTGOING_WEBHOOK` | Tool to create a new outgoing webhook integration. use when you need to register an endpoint to receive event notifications from better stack. | `name`, `url`, `trigger_type` |
| `BETTER_STACK_CREATE_SOURCE_GROUP` | Tool to create a new source group. use when you have finalized the group name (and optional sort index) and need to organize related log sources under that group. | `name` |
| `BETTER_STACK_DELETE_ESCALATION_POLICY` | Tool to delete an escalation policy by id. use when you need to permanently remove an existing escalation policy after confirming its id. | `policy_id` |
| `BETTER_STACK_DELETE_SOURCE_GROUP` | Tool to delete a source group by id. use when you need to permanently remove an existing source group after confirming it is no longer needed. | `source_group_id` |
| `BETTER_STACK_GET_HEARTBEAT` | Tool to get a single heartbeat by id. use when you need to fetch details of a specific heartbeat. | `heartbeat_id` |
| `BETTER_STACK_GET_HEARTBEAT_AVAILABILITY` | Tool to retrieve availability summary for a specific heartbeat. use when you need availability metrics for a heartbeat within an optional date range. | `heartbeat_id` |
| `BETTER_STACK_GET_MONITOR` | Tool to get a single monitor. use when you need full details of a specific monitor by its id. | `monitor_id` |
| `BETTER_STACK_GET_MONITOR_AVAILABILITY` | Tool to return an availability summary for a specific monitor. use when you need uptime percentage and incident details within an optional date range. | `monitor_id` |
| `BETTER_STACK_GET_MONITOR_RESPONSE_TIMES` | Tool to return response times for a specific monitor. use when you have a monitor id and need performance metrics over the last 24 hours. | `monitor_id` |
| `BETTER_STACK_GET_STATUS_PAGE` | Tool to get a single status page by id. use when you need detailed information about a specific status page. | `status_page_id` |
| `BETTER_STACK_GET_TELEMETRY_API_TOKEN` | Tool to retrieve the telemetry api token from the integration configuration. use when you need to authenticate telemetry api requests. | - |
| `BETTER_STACK_GET_UPTIME_API_TOKEN` | Tool to retrieve the configured uptime api token. use when you need the uptime api token for subsequent authenticated api calls. | - |
| `BETTER_STACK_LIST_CATALOG_RELATIONS` | Tool to list all catalog relations. use when you need to retrieve all catalog relations, supports pagination. | - |
| `BETTER_STACK_LIST_GOOGLE_MONITORING_INTEGRATIONS` | Tool to list all google monitoring integrations. use when you need to view your configured google monitoring on-call integrations with pagination support. | - |
| `BETTER_STACK_LIST_GRAFANA_INTEGRATIONS` | Tool to list all grafana integrations. use when you need to retrieve and inspect all configured grafana integrations. | - |
| `BETTER_STACK_LIST_HEARTBEATS` | Tool to list all heartbeats. use when you need to retrieve your configured uptime heartbeats with optional pagination. | - |
| `BETTER_STACK_LIST_MONITORS` | Tool to list all monitors. use when you need to retrieve existing uptime monitors with optional filtering by url or name and pagination. | - |
| `BETTER_STACK_LIST_NEW_RELIC_INTEGRATIONS` | Tool to list new relic integrations. use when you need to retrieve and inspect all configured new relic integrations with pagination support. | - |
| `BETTER_STACK_LIST_ON_CALL_SCHEDULES` | Tool to list all on-call schedules. use when you need to retrieve all configured on-call calendars. | - |
| `BETTER_STACK_LIST_STATUS_PAGES` | Tool to list all your status pages. use when you need to retrieve existing status pages with optional pagination. | - |
| `BETTER_STACK_LIST_STATUS_PAGE_REPORTS` | Tool to list all reports on a status page. use when you need to retrieve existing status page reports with optional pagination via 'page' and 'per page'. | `status_page_id` |
| `BETTER_STACK_UPDATE_HEARTBEAT` | Tool to update an existing heartbeat configuration. use after retrieving a heartbeat and choosing which fields to change. | `heartbeat_id` |
| `BETTER_STACK_UPDATE_HEARTBEAT_GROUP` | Tool to update an existing heartbeat group. use when you need to modify attributes like name, interval, or pause status. | `heartbeat_group_id` |
| `BETTER_STACK_UPDATE_SOURCE_GROUP` | Tool to update an existing source group. use when you need to rename or reorder a source group. | `source_group_id` |

## Links

- [Better Stack website](https://betterstack.com/)
- [Get API key / credential](https://betterstack.com/settings/global-api-tokens)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
