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.
Path Parameters
string
required
Unique identifier of the knowledge base (UUID format)
string
required
Unique identifier of the document (UUID format)
Response
string
Knowledge base ID this document belongs to
string
Unique identifier for the document (UUID)
string
URL of the document
string
UUID of the organization that owns this document
string
Document name (typically the document URL)
string
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?

