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.
https://api.qwryai.com/public/v1/tools/update_modelAuthentication
Send your API key as Authorization: Bearer YOUR_API_KEY. The key needs Change agent settings. See Authentication.
Which tool to use
| Setting | Tool | Example fields |
|---|---|---|
| Instructions | update_instructions | systemPrompt, guardrails, requiredDisclaimers, or one channel's own instructions in channel_specific_instructions |
| Model | update_model | responseModel, temperature, maxTokens, citationsEnabled, apiChannelModel |
| Chat interface | update_chat_interface | displayName, messagePlaceholder, welcomeMessages, suggestions |
| Styles | update_styles | theme, primaryColor, bubbleColor, position, footer |
| Rate limit | update_rate_limit | rate_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
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
See Update agent and Error Handling.