POST
/
paas
/
v4
/
assistant
/
conversation
/
list
查询智能体会话列表
curl --request POST \
  --url https://open.bigmodel.cn/api/paas/v4/assistant/conversation/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assistant_id": "65940acff94777010aa6b796"
}'
{
  "success": true,
  "code": 200,
  "msg": "操作成功",
  "data": {
    "assistant_id": "65940acff94777010aa6b796",
    "conversation_list": [
      {
        "id": "conv_123456",
        "assistant_id": "65940acff94777010aa6b796",
        "create_time": "2024-01-01T10:00:00Z",
        "update_time": "2024-01-01T10:30:00Z",
        "usage": {
          "prompt_tokens": 123,
          "completion_tokens": 123,
          "total_tokens": 123
        }
      }
    ],
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

使用以下格式进行身份验证:Bearer <your api key>

Body

application/json

Response

200
application/json

业务处理成功

The response is of type object.