Add a new document to a knowledgebase
This endpoint creates a new document in a knowledgebase. Documents are processed asynchronously - the endpoint returns immediately while processing continues in the background.Documentation Index
Fetch the complete documentation index at: https://docs.gloriagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
website, pdf, txt, or docxlinks is not provided.url is not provided.multipart/form-data encoding.| Type | Description | Input |
|---|---|---|
website | Scrapes web pages and extracts text content | URL or list of URLs |
pdf | Extracts text from PDF files | PDF file upload |
txt | Plain text content | TXT file upload |
docx | Extracts text from Word documents | DOCX file upload |