上传智能体头像

设置小组件中显示的智能体头像

路径参数

agent_idstring必需

智能体 ID。创建智能体时返回此值。

请求头

xi-api-keystring可选

请求

This endpoint expects a multipart form containing a file.
avatar_filefile必需

用作智能体头像的图像文件。

响应

成功响应

agent_idstring
avatar_urlstring or null可选

错误

422
Unprocessable Entity Error