Update assistant avatar
POST/chatModel/:chatModelId/avatar
Upload or update the avatar for the chat model. Accepts either:
multipart/form-datawith a "file" field (direct file upload)application/jsonwith an "imageUrl" field (URL to fetch and upload)
Request
Responses
- 200
- 400
- 401
Avatar updated successfully
Invalid file type or missing imageUrl
Unauthorized