蓝心九问
Bot接口

查看配置

接口描述

此接口用于获取指定 Bot 的详细配置信息。通过调用此接口,您可以查看 Bot 的名称、描述、头像,方便您在外部应用中动态获取和展示 Bot 信息。

基础信息

请求地址/parameters
请求域名• 办公网域名:http://jiuwen-api.vmic.xyz/v1 • IDC域名:http://jiuwen-api.vivo.lan:8080/v1
请求方法GET

请求参数

Request Header

参数取值说明
AuthorizationBearer {{API-SECRET-KEY}} 用于验证客户端身份的 [API密钥]

返回参数

内容较多,详见下方示例

示例

Request

curl --location --request GET 'http://chato-console-test.vmic.xyz/v1/parameters'\
--header 'Authorization: Bearer {{API-SECRET-KEY}}'

注意: 请只替换{{API-SECRET-KEY}}!Bearer和密钥中间有一个空格,请勿删除!

Response

{
  "opening_statement": "",
  "suggested_questions": [],
  "suggested_questions_after_answer": {
    "enabled": true,
    "suggested_questions_counts": 3
  },
  "more_like_this": {
    "enabled": false
  },
  "extra": {
    "dataset_force_call": 0
  },
  "internet_search": 0,
  "user_input_form": [
    {
      "text-input": {
        "label": "历史信息",
        "variable": "history",
        "required": true,
        "placeholder": "",
        "default": "",
        "code": "eb62976ba1ab1ce6e2cebf9473dc2a9e"
      }
    }
  ]
}

On this page