Update Legacy Bot
ethora-bot-update-v2Configure the AI bot for an app — prompt, LLM, trigger, greeting, RAG behavior, identity, and public widget settings. Partial update — omitted fields are left unchanged. status: "on" activates the bot (best-effort; needs a prompt + LLM and a backend AI service).
Auth: app-token mode OR B2B mode with an explicit appId. Errors: 401/403 wrong auth; 404 unknown appId; 422 validation (e.g. an llmProvider/llmModel not enabled). Related: ethora-bot-get-v2, ethora-agents-activate-v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | 24-char hex appId. Required in B2B mode unless already set via `ethora-app-select`; ignored in app-token mode. | |
| isRAG | No | If true, the bot retrieves from the app's indexed RAG sources (see the `ethora-sources-*` tools) when answering. | |
| chatId | No | Restrict the bot to a single chat by id. Omit to apply app-wide. | |
| prompt | No | System prompt that defines the bot's persona and behavior. | |
| status | No | `on` activates the bot, `off` deactivates it. Omit to leave the current status unchanged. | |
| ragTags | No | Restrict RAG retrieval to sources tagged with these tags (see `ethora-sources-site-tags-update-v2` / `ethora-sources-docs-tags-update-v2`). | |
| trigger | No | When the bot responds: `any_message` (replies to every message) or `/bot` (only messages starting with /bot). | |
| llmModel | No | LLM model id, e.g. `gpt-4o-mini`. Must be available for the chosen `llmProvider`. | |
| botLastName | No | Bot's last name in its user profile. | |
| llmProvider | No | LLM provider, e.g. `openai` or `openai-compatible`. Must be enabled in your Ethora backend's AI service config. | |
| botAvatarUrl | No | Public URL of the bot's avatar image. | |
| botFirstName | No | Bot's first name in its user profile. | |
| savedAgentId | No | Id of a saved agent whose config should back this bot. Alternative to setting prompt/LLM/RAG fields individually. | |
| botDisplayName | No | Bot's display name shown in chat. | |
| greetingMessage | No | Message the bot posts when a conversation starts. | |
| widgetPublicUrl | No | Public URL for the embeddable widget. Usually read via `ethora-bot-widget-v2` rather than set here. | |
| widgetPublicEnabled | No | If true, expose the bot through a public embeddable chat widget. |