Retrieve detailed information about a specific knowledge base including its configuration, document count, and metadata.
Path Parameters
Unique identifier of the knowledge base (UUID format)
Response
Unique identifier for the knowledge base (UUID)
Display name of the knowledge base
Optional description of the knowledge base purpose (can be null)
Knowledge base type (e.g., managed)
UUID of the organization that owns this knowledge base
UUID of the agent this knowledge base is attached to (can be null)
Total number of documents in the knowledge base
Example Request
curl -X GET -H "x-api-key: YOUR_API_KEY" \
https://api.xpander.ai/v1/knowledge/73dc30ca-bdbf-42f7-a39f-93aff4f8522e
Example Response
{
"id": "73dc30ca-bdbf-42f7-a39f-93aff4f8522e",
"name": "PeopleDB",
"description": "Dataset contains data about people and their phone number",
"type": "managed",
"organization_id": "91fbe9bc-REDACTED",
"agent_id": null,
"total_documents": 0
}
API Key for authentication
Represents a Knowledge Base item.
Attributes:
id (str): KB unique identifier.
name (str): KB name specified by the user.
description (str): KB description specified by the user.
type (KnowledgeBaseType): KB type, either managed or external.
organization_id (str): Organization ID associated with the KB.
total_documents (int): Total count of embedded documents. Defaults to 0.
KB name specified by the user
KB type, managed / external
Available options:
managed,
external
KB description specified by the user
Total count of embedded documents