For per-guild configuration, use the Guilds endpoints (
GET /guilds/:id/config and PATCH /guilds/:id/config).GET /config
Returns the current global bot configuration. Sensitive fields (API keys, tokens) are masked with a placeholder. Authentication: API key or bot-owner JWT Bearer token required.Example
PUT /config
Replaces writable config sections. Only the following sections are accepted:ai, welcome, spam, moderation, triage. Values are merged leaf-by-leaf into the existing config.
Authentication: API key or bot-owner JWT Bearer token required.
Request body
A JSON object containing one or more writable config sections. Nested objects are merged at the leaf level.
Response
Returns the updated config on full success (200), a partial-success object on partial failure (207), or an error on complete failure.
The updated global config with sensitive fields masked. Returned on full success.
Summary error message.
Per-path write results. Each item has
path (string), status (success or failed), and optionally error (string).The current config state after partial writes.