@wildix/wim-knowledge-base-client > CreateDocumentInput
CreateDocumentInput interface
Signature:
export interface CreateDocumentInput
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | undefined | (Optional) The unique identifier of the tenant when a service token is used. | ||
string | undefined | (Optional) Optional document content in plain text or markdown format. For file uploads, can be the document content. | ||
string | Unique identifier of the data source | ||
string | undefined | (Optional) Optional detailed description of the document content and purpose. Helps users understand what the document is about. | ||
__DocumentType | undefined | (Optional) Additional metadata of the document. Example: | ||
string | File format/extension of the original document for reference. Examples: 'pdf', 'docx', 'md', 'html', 'txt'. Helps identify source document type | ||
string | undefined | (Optional) Original ID from the source system, preserving the reference to the source document. Examples: 'confluence-page-1234567890' (for Confluence), 'gdrive-file-abc123' (for Google Drive), sha1(original-file-content) (for file uploads) | ||
string | Original filename or identifier of the source document. Preserves the source document name. Examples: 'product-knowledge-base.pdf', 'installation-guide.docx' | ||
string | Display title of the document used in search results and UI. Can differ from originalName. Examples: 'Product Installation Guide', 'API Documentation'. Length: 2-100 characters | ||
string | undefined | (Optional) Optional URL where the document can be accessed or viewed. Used for providing direct links to the source. Example: https://confluence.company.com/wiki/Product\_Documentation |