Skip to content

Retrieve Knowledge

POST
/api/v1/knowledge/bases/{kb_uuid}/retrieve

Search for relevant knowledge in the knowledge base

Authorizations

ApiKeyAuth

API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here

TypeAPI Key (header: X-API-Key)
or
BearerAuth

Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>

TypeHTTP (bearer)

Parameters

Path Parameters

kb_uuid*

Knowledge Base UUID

Typestring
Required

Request Body

application/json
JSON
{
"query": "string"
}

Responses

Retrieval successful

application/json
JSON
{
"code": 0,
"msg": "ok",
"data": {
"results": [
{
}
]
}
}

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI