Skip to content
QwryAI
Documentation
Pages

Endpoints

Update chatbot settings

Change an agent's instructions, model, chat interface, styles and rate limit with the settings tools

API v1 has no settings endpoint. Change an agent's settings with the Tools API's settings tools, one per settings area. Each returns a review showing every value before and after, and nothing changes until you apply it. The full reference is Update agent.

POSThttps://api.qwryai.com/public/v1/tools/update_model

Authentication

Send your API key as Authorization: Bearer YOUR_API_KEY. The key needs Change agent settings. See Authentication.

Which tool to use

SettingToolExample fields
Instructionsupdate_instructionssystemPrompt, guardrails, requiredDisclaimers, or one channel's own instructions in channel_specific_instructions
Modelupdate_modelresponseModel, temperature, maxTokens, citationsEnabled, apiChannelModel
Chat interfaceupdate_chat_interfacedisplayName, messagePlaceholder, welcomeMessages, suggestions
Stylesupdate_stylestheme, primaryColor, bubbleColor, position, footer
Rate limitupdate_rate_limitrate_limit with messages (1 to 200), seconds (1 to 3600) and message

Each tool takes expectedUpdatedAt, the agent's current updatedAt from get_chat_interface. The model, chat interface, styles and instructions tools take a changes list of { "field", "value" } items, up to 20, with only the fields you want to change. GET /public/v1/tools returns each tool's full input schema.

Request example

Bash
curl -X POST 'https://api.qwryai.com/public/v1/tools/update_model' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "chatbotId": "YOUR_AGENT_ID",
    "expectedUpdatedAt": "2026-11-30T18:56:55.709Z",
    "changes": [{ "field": "temperature", "value": 0.3 }]
  }'

The response is a review with reviewId and each change's before and after. Apply it with POST https://api.qwryai.com/public/v1/reviews/{reviewId}/apply within 15 minutes. See Agents › Reviewed updates.

Errors

Explore the documentation