Get Knowledge Base Document By Id
REST API - Knowledge
Get Knowledge Base Document
Get detailed information about a specific document in a knowledge base
GET
Get Knowledge Base Document By Id
Retrieve complete details about a specific document including metadata, processing status, and content information.Documentation Index
Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Unique identifier of the knowledge base (UUID format)
Unique identifier of the document (UUID format)
Response
Knowledge base ID this document belongs to
Unique identifier for the document (UUID)
URL of the document
UUID of the organization that owns this document
Document name (typically the document URL)
The extracted text content of the document
Example Request
Example Response
Notes
- The
raw_datafield contains the extracted text content of the document - Returns 404 if the document or knowledge base is not found
Authorizations
API Key for authentication
Response
Successful Response
Represents a document item within a Knowledge Base.
Attributes: kb_id (Optional[str]): KB identifier. id (str): Document unique identifier. document_url (str): URL of the document. raw_data (Optional[str]): Raw textual data of the document. local_env (Optional[bool]): Indicates if the document is in a local environment. Defaults to False.
Document URL
KB identifier
Document unique identifier
Organization ID
Doc name
Raw data (textual)
Is local
Is sync?

