跳转到主要内容
GET
/
api
/
v1
/
platform
/
bots
列出所有机器人
curl --request GET \
  --url http://localhost:5300/api/v1/platform/bots \
  --header 'X-API-Key: <api-key>'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "bots": [
      {
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "adapter": "telegram",
        "config": {},
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

授权

X-API-Key
string
header
必填

使用 X-API-Key 请求头进行 API 密钥认证。 示例:X-API-Key: lbk_your_api_key_here

响应

成功响应

code
integer
示例:

0

msg
string
示例:

"ok"

data
object