---
title: "Alert rules"
locale: en
url: https://tlg.builera.app/en/docs/reference/rest/alerts.save_rules
verified: 2026-10-24
app_version: "2.0"
generated: true
---

# Alert rules

Set severity / on-off per alert kind.

Set severity / on-off per alert kind.

## Overview

| Name | Value |
| --- | --- |
| Code | `alerts.save_rules` |
| Scope needed | `integrations.manage` |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
| Needs `Idempotency-Key` | No |
| Member roles allowed | `owner`, `manager` |
| In the app | Settings → Alerts |

## Input fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `rules` | `object[]` | Yes |   |

## Example request

```bash
curl -X POST https://tlg.builera.app/api/public/v2/ops/alerts.save_rules \
  -H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rules":[]}'
```

## Output fields (`data`)

| Field | Type | Required |
| --- | --- | --- |
| `ok` | `true` | Yes |

## Example answer

```json
{
  "data": {
    "ok": true
  }
}
```

## Using it over MCP

Not listed on any profile: call `tools_describe` then `tools_run` with `code: "alerts.save_rules"`. Tool name when listed: `alerts_save_rules`.
