---
title: "Watched / excluded keywords"
locale: en
url: https://tlg.builera.app/en/docs/reference/rest/discovery.save_settings
verified: 2026-10-24
app_version: "2.0"
generated: true
---

# Watched / excluded keywords

Replace the workspace's watch and exclude keywords.

Replace the workspace's watch and exclude keywords.

## Overview

| Name | Value |
| --- | --- |
| Code | `discovery.save_settings` |
| New code (v2) | `discovery_settings.save` |
| Scope needed | `discovery.write` |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
| Needs `Idempotency-Key` | No |
| Member roles allowed | `owner`, `manager` |
| In the app | Discover → Keywords |

## Input fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `watchKeywords` | `text[]` | Yes |   |
| `excludeKeywords` | `text[]` | Yes |   |

## Example request

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

## Output fields (`data`)

| Field | Type | Required |
| --- | --- | --- |
| `ok` | `true` | Yes |
| `watchKeywords` | `text[]` | Yes |
| `excludeKeywords` | `text[]` | Yes |

## Example answer

```json
{
  "data": {
    "ok": true,
    "watchKeywords": [
      "text"
    ],
    "excludeKeywords": [
      "text"
    ]
  }
}
```

## Using it over MCP

Not listed on any profile: call `tools_describe` then `tools_run` with `code: "discovery.save_settings"`. Tool name when listed: `discovery_save_settings`.
