GET
/
llm-application
/
open
/
v2
/
application
/
{app_id}
/
variables
获取智能体输入参数
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
}

Authorizations

Authorization
string
header
required

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

Path Parameters

app_id
string
required

智能体(应用)id,获取位置:我的智能体列表页面

Response

200
application/json

请求成功

The response is of type object.