Endpoints
Delete chatbot icon
Go back to a built-in chat bubble icon with update_styles
API v1's icon delete has no direct equivalent. To remove a custom chat bubble icon, switch the launcher back to a built-in icon and clear the image address with the Tools API's update_styles tool. The change returns a review, and nothing changes until you apply it. The full reference is Update agent styles.
POST
https://api.qwryai.com/public/v1/tools/update_stylesAuthentication
Send your API key as Authorization: Bearer YOUR_API_KEY. The key needs Change agent settings. See Authentication.
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
chatbotId | string | Yes | The agent's id, from list_agents. |
expectedUpdatedAt | string | Yes | The agent's current updatedAt, from get_chat_interface. A stale value is refused. |
changes | array | Yes | The style fields to change, each { "field", "value" }. |
The fields this page uses:
| Field | Value |
|---|---|
launcherIcon | A built-in icon: sparkles, filled, outline or bubbles. |
launcherIconUrl | An empty string clears the custom image. |
Request example
curl -X POST 'https://api.qwryai.com/public/v1/tools/update_styles' \
-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": "launcherIcon", "value": "sparkles" },
{ "field": "launcherIconUrl", "value": "" }
]
}'Response
The response is a review. Apply it with POST https://api.qwryai.com/public/v1/reviews/{reviewId}/apply within 15 minutes. See Agents › Reviewed updates.
Errors
| HTTP status | code | When |
|---|---|---|
| 400 | INVALID_ARGUMENTS | A field name or value fails the schema, such as an address that isn't http or https. |
| 403 | INSUFFICIENT_PERMISSION | The key doesn't hold Change agent settings. |
| 409 | NOTHING_TO_CHANGE | The values are already set. |
| 409 | STALE_CONFIGURATION | expectedUpdatedAt isn't the agent's current updatedAt. Read get_chat_interface again. |
See Error Handling for authentication and rate-limit errors.