Skip to main content
GET

Overview

Retrieve one knowledge base in your organization. The response has its name, description and search index, but not its files: list those with List Knowledge Base Documents.

Prerequisites

Request

string
required
Your workspace API key. Create one from the profile menu in the dashboard → API Keys.
string
required
ID of the knowledge base.

Response

string
Knowledge base ID.
string
Name of the knowledge base.
string
Description of the knowledge base.
string
Name of the search index. A video agent uses it as rag.vectorDBCollection.
string
Always PENDING; it isn’t updated after creation.

Error Handling

Errors return status: false, with the reason in errorMessage.
  • 400 Bad Request – knowledgeBaseId isn’t a valid ID.
  • 401 Unauthorized – Missing or invalid API key.
  • 404 Not Found – KnowledgeBase not found: it doesn’t exist in your organization.
  • 429 Too Many Requests – More than 1,000 Knowledge Base requests in 15 minutes from your IP address.
  • 500 Internal Server Error – Unexpected server error.