🚀 GLM-4.6 代码编程专享计划 • 限时优惠 Coding Plan ➞
cURL
curl --request POST \ --url https://open.bigmodel.cn/api/llm-application/open/v2/application/{app_id}/conversation \ --header 'Authorization: Bearer <token>'
{ "data": { "conversation_id": "<string>" }, "code": 123, "message": "<string>", "timestamp": 123 }
为指定智能体(应用)创建新会话,返回会话ID。
ID
使用以下格式进行身份验证:Bearer <your api key>
智能体(应用)id
请求成功
Hide child attributes
会话id
响应码,200为成功
响应信息
响应时间戳