AI AdminPanel Documentation

Notifications

Open Settings → Notifications to enable or disable each notification category for each channel. The matrix contains Service Events, Backup Events, Deploy Events and System Alerts. It is not a list of individual event subscriptions or per-customer notification preferences.

Channels and delivery

The page has one card per channel: Email, Slack, Discord, Telegram and Webhook. Each card shows Configured or Not configured, so you can see which channels can send right now.

  • Email uses the panel mail set up under Settings → Email (SMTP or Resend); its card links there. The panel also applies that mail configuration to Keycloak for invitation and password-reset mail; verify delivery after a change.
  • Slack takes an incoming webhook URL from your Slack app (Features → Incoming Webhooks).
  • Discord takes a webhook URL (Server Settings → Integrations → Webhooks).
  • Telegram takes a bot token from @BotFather and a chat ID. A token without a chat ID is shown as a problem on the card and the channel stays off.
  • Webhook takes any http(s):// URL; see Generic webhook contract.

Saving or removing a channel setting applies it to the running panel at once; no restart is needed. Before AI-2629 these four channels were read only at startup and under the wrong setting names, so they never sent anything.

Credentials are write-only: the Slack, Discord and generic webhook URLs, the Telegram bot token, the SMTP password and the Resend API key are never shown again after you save them. A stored value shows as Stored — enter a new value to replace. Leaving the field blank on save keeps the stored value; typing a new one replaces it; Remove stored value deletes it. The settings API behaves the same way: it returns is_set instead of the value, and PUT /api/v1/settings/{key} with {"clear": true} removes a stored credential. The keys are notifications.slack_webhook, notifications.discord_webhook, notifications.telegram_token, notifications.telegram_chat_id and notifications.webhook_url.

Testing a channel

Test on a card sends one message to that channel only and waits for the receiver's answer. A green message means the receiver accepted it; a red one shows what it answered (for example webhook: endpoint returned status 500). The button is disabled until the channel is set up. The API is POST /api/v1/notification-settings/test with {"channel": "slack"}; it answers 200 ("status": "delivered"), 409 channel_not_configured or 502 notification_delivery_failed with the receiver's answer. GET /api/v1/notification-settings/channels lists every channel with configured and, when stored settings cannot be used, problem.

Which events go where

The matrix below the cards has a row per category and a column per channel. Untick a box and that channel no longer receives that category; the panel follows the matrix when it sends. The column of a channel that is not set up is disabled. Categories that are not in the matrix (for example AI alerts) go to every set-up channel.

Daily status email

Since AI-2253 every platform admin gets one short email a day about the server, through the mail set up under Settings → Email (SMTP or Resend). It is on unless you switch it off: it is meant to be the one place an admin learns that something went wrong overnight.

The email says in its first line whether all is well, then lists what needs attention, a few tips and a short summary:

  • an app that is down or stopped, a failed or missed backup, apps without any backup;
  • a certificate that failed or ends within 14 days;
  • deploys that failed in the last day;
  • the disk almost full or filling up;
  • an available panel update, the licence or trial ending, an invalid licence;
  • the Assistant's monthly AI spend near or at its cap;
  • tips: two-factor sign-in is off for your login, open Getting started steps.

Every line links to the panel page that fixes it. The email uses your brand name and colour from Settings → Branding (not the logo: most mail programs block embedded images) and the language and time zone in each person's My account → Preferences.

When it is sent. At most once a day per person, at the send time (08:00 by default) in their own time zone, checked every 15 minutes. Nothing is sent while email is not set up. When nothing changed since the last email and nothing is urgent, the email is skipped; a short "all is well" email still arrives once a week, so silence never means the email broke. If a check could not run, the email says it may be incomplete instead of "all is well".

Switching it off.

  • For everyone: Settings → Notifications → Daily status email, switch Send admins a daily status email off. The send time is set there too.
  • For yourself: My account → Daily status email.
  • From the email: Unsubscribe at the bottom opens a page with one button. Mail programs that offer their own unsubscribe button (RFC 8058 one-click) use the same link. Only the link in your newest status email works; an older one shows "This link no longer works".

The settings API keys are status_email.admins_enabled (true/false) and status_email.send_time (HH:MM). The personal switch is GET/PUT /api/v1/account/status-email with {"enabled": true|false} and only ever changes the caller's own setting.

Who counts as an admin here: members of the platform organization whose role has the settings.update permission.

Reseller staff and end customers

Since AI-2254 the same email also goes to:

  • Reseller staff (members of a reseller organization whose role has services.deploy): about their own customers' apps only. On unless you switch Send reseller staff a daily status email off under Settings → Notifications (status_email.resellers_enabled).
  • End customers (portal users): about their own apps only. Off unless switched on, because a customer did not sign up with you and an unexpected daily email is the most likely to be marked as spam. A reseller decides for its own customers under My account → Your customers → Daily status email for your customers (Platform default, On or Off). Customers directly under the platform follow Send end customers a daily status email under Settings → Notifications (status_email.customers_enabled), which is also what Platform default means.

Each email shows only what that person's organization owns: a reseller never sees another reseller's apps, and a customer never sees another customer's. Server-wide items (updates, licence, disk, AI spend) are in the admins' email only. A customer of a reseller sees the reseller's brand name and colour. Links in a customer's email open the portal. Every person can still switch the email off for themselves under My account (the portal's profile page for customers) or with the link in the email.

The reseller switch is PUT /api/v1/organizations/{id}/status-email-customers with {"enabled": true|false|null} (null goes back to the platform default), or the MCP tool set_status_email_customers. It needs organizations.update and works only on a reseller organization in the caller's own subtree.

Generic webhook contract

The generic webhook sends no signature header. It posts JSON with Content-Type: application/json; there is no signing secret or custom authorization-header setting. Do not rely on an X-Webhook-Signature header (earlier versions of the settings page mentioned one by mistake) to authenticate a notification or trigger a privileged action. Protect the receiving URL yourself, for example with a long unguessable path, before using it for automation.

The JSON fields are event, severity, title, message, resource, timestamp and panel_url. For example, a test event has the event type notification.test. Event names come from their producers; the matrix filters by category rather than by an editable list of event names.

Delivery happens in the background. A successful deploy does not prove that its notification arrived, and a failed notification does not roll back the deploy.