Get All Knowledge Bases
Get all builtin knowledge bases
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Responses
Success
Create Knowledge Base
Create a new knowledge base
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Request Body
Responses
Knowledge base created successfully
Get Knowledge Base Details
Get details info of specified knowledge base
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Parameters
Path Parameters
Knowledge Base UUID
Responses
Success
Update Knowledge Base Info
Update knowledge base information
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Parameters
Path Parameters
Knowledge Base UUID
Request Body
Responses
Update successful
Delete Knowledge Base
Delete a specified knowledge base
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Parameters
Path Parameters
Knowledge Base UUID
Responses
Deletion successful
List Knowledge Base Files
Get all files in the specified knowledge base
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Parameters
Path Parameters
Knowledge Base UUID
Responses
成功
Add File to Knowledge Base
Add uploaded file to knowledge base for processing
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Parameters
Path Parameters
Knowledge Base UUID
Request Body
Responses
Addition successful
Delete File from Knowledge Base
Delete file from the specified knowledge base
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Parameters
Path Parameters
Knowledge Base UUID
File ID
Responses
Deletion successful
Retrieve Knowledge
Search for relevant knowledge in the knowledge base
Authorizations
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
Parameters
Path Parameters
Knowledge Base UUID
Request Body
Responses
Retrieval successful
