获取智能体小组件配置

获取智能体的小部件配置。

路径参数

agent_idstring必需

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

请求头

xi-api-keystring可选

查询参数

conversation_signaturestring or null可选

用于启动 websocket 对话的临时令牌。可通过 /v1/convai/conversation/get_signed_url 端点为智能体生成。

响应

成功响应

agent_idstring
widget_configobject

错误

422
Unprocessable Entity Error