curl --request GET \
--url https://open.bigmodel.cn/api/llm-application/open/v2/application/{app_id}/variables \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"tips": "<string>",
"allowed_values": [
"<string>"
],
"input_template": {
"options": [
"<any>"
]
}
}
],
"code": 123,
"message": "<string>",
"timestamp": 123
}
获取指定智能体应用的输入参数列表。
curl --request GET \
--url https://open.bigmodel.cn/api/llm-application/open/v2/application/{app_id}/variables \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"tips": "<string>",
"allowed_values": [
"<string>"
],
"input_template": {
"options": [
"<any>"
]
}
}
],
"code": 123,
"message": "<string>",
"timestamp": 123
}
使用以下格式进行身份验证:Bearer <your api key>
智能体(应用)id,获取位置:我的智能体列表页面
请求成功
The response is of type object
.