cURL
curl --request GET \ --url http://localhost:5300/api/v1/knowledge/bases \ --header 'X-API-Key: <api-key>'
{ "code": 0, "msg": "ok", "data": { "bases": [ {} ] } }
获取所有内置知识库列表
使用 X-API-Key 请求头进行 API 密钥认证。 示例:X-API-Key: lbk_your_api_key_here
X-API-Key: lbk_your_api_key_here
成功
0
"ok"
显示 子属性