Skip to content
SoulFire LogoSoulFire

Update bot config entry

PATCH
/v1/instances/{instance_id}/bots/{bot_id}/config/namespaces/{namespace}/entries/{key}

Updates a single configuration entry for a specific bot. The configuration is persisted to the database immediately.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

instance_id*string

The UUID of the SoulFire instance containing the bot.

Formatuuid
bot_id*string

The profile UUID of the bot to update configuration for.

Formatuuid
namespace*string

The settings namespace (e.g., plugin ID or "bot" for core bot settings). Examples: "bot", "auto-reconnect", "chat-message-controller"

key*string

The key within the namespace to update. Must be a valid setting key defined for that namespace.

Request Body

application/json
  1. body

Request to update a single configuration entry for a specific bot. This allows granular updates without replacing the entire configuration.

value*unknown

The new value to set for this configuration entry. Must be a valid protobuf Value (null, number, string, bool, list, or struct).

Response Body

Response for bot configuration entry update.

application/json
  1. response

Response for bot configuration entry update. Empty on success; errors are returned via gRPC status.

Example Request
curl -X PATCH 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/bots/497f6eca-6276-4993-bfeb-53cbbbba6f08/config/namespaces/string/entries/string' \
  -H 'Content-Type: application/json' \
  -d '{
  "value": null
}'
Example Response
{}

Was this page helpful?