curl --request POST \
--url https://open.bigmodel.cn/api/paas/v4/assistant/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"assistant_id_list": [
"65940acff94777010aa6b796",
"assistant_2"
]
}'
{
"success": true,
"code": 200,
"msg": "操作成功",
"data": [
{
"assistant_id": "65940acff94777010aa6b796",
"name": "通用智能助手",
"avatar": "https://example.com/avatar.png",
"description": "一个通用的AI助手,可以回答各种问题",
"tools": [
"web_search",
"code_interpreter"
],
"tags": [
{
"key": "category",
"label": "通用助手"
}
],
"status": "active",
"starter_prompts": [
{}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
]
}
查询指定的智能体列表信息,包括智能体的详细配置、工具和元数据。
curl --request POST \
--url https://open.bigmodel.cn/api/paas/v4/assistant/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"assistant_id_list": [
"65940acff94777010aa6b796",
"assistant_2"
]
}'
{
"success": true,
"code": 200,
"msg": "操作成功",
"data": [
{
"assistant_id": "65940acff94777010aa6b796",
"name": "通用智能助手",
"avatar": "https://example.com/avatar.png",
"description": "一个通用的AI助手,可以回答各种问题",
"tools": [
"web_search",
"code_interpreter"
],
"tags": [
{
"key": "category",
"label": "通用助手"
}
],
"status": "active",
"starter_prompts": [
{}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
]
}
使用以下格式进行身份验证:Bearer <your api key>
业务处理成功
The response is of type object
.