获取签名 URL

获取签名 URL,以与需要授权的智能体发起对话

请求头

xi-api-keystring可选

查询参数

agent_idstring必需

智能体 id(agent_…)或语音引擎外部 id(seng_),均会解析为同一底层资源。

include_conversation_idboolean可选默认为 false

是否在响应中包含 conversation_id。若包含,conversation_signature 将无法再次使用。

branch_idstring or null可选

要使用的分支 ID

version_idstring or null可选

要使用的版本 ID

environmentstring or null可选

用于解析环境变量的环境(例如 ‘production’、‘staging’)。默认值为 ‘production’。

debug_events_requestboolean可选默认为 false

是否启用调试事件。仅适用于拥有该智能体编辑权限的用户。

响应

成功响应

signed_urlstring

错误

422
Unprocessable Entity Error