cURL
curl --request GET \ --url http://localhost:5300/api/v1/platform/bots \ --header 'X-API-Key: <api-key>'
200
Example
{ "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 请求头进行 API 密钥认证。 示例:X-API-Key: lbk_your_api_key_here
X-API-Key: lbk_your_api_key_here
成功响应
0
"ok"
显示 子属性