Documents
Upload documents to your AI knowledge base so agents answer from your own content (RAG).
Objective
Build and manage your AI knowledge base. Upload documents so your agents answer questions from your own content using RAG (Retrieval Augmented Generation). Helios keeps each original file and indexes it in your workspace's own knowledge index: it reads the text, detects the document's structure (titles, chapters, articles), and makes it searchable both by meaning and by exact words. Each document can be assigned to one or more agents.
Access
Sidebar -> Documents Route: /app/{tenant}/documents
Roles
- owner, admin, agent — open the module, upload documents, retry failed documents, and refresh a document's structure.
- owner, admin — delete documents and assign or unassign documents to agents. Agents see assignments read-only and do not get the delete action.
- viewer — no access to this module.
Prerequisites
- No API key on managed AI credits. A workspace that runs on its own key indexes with its OpenAI API key (connected in Integrations or under API keys); a Google AI key is not used for documents. On Free without a key of its own, Helios covers indexing up to a monthly indexing allowance.
- A verified email address. Upload is blocked until your email is verified on plans that require it.
- An active subscription. Upload is blocked while the subscription is restricted or suspended.
- Room in your plan's knowledge base, which is measured in knowledge pages (see Plans and limits).
Plans and limits
Your plan sells the knowledge base in knowledge pages: 1 knowledge page = 2,500 characters of text read from your documents, about one printed page. The limit counts the text, not the number of files or megabytes.
| Plan | Knowledge pages | Largest file |
|---|---|---|
| Free | 200 | 5 MB |
| Starter | 3,000 | 25 MB |
| Growth | 15,000 | 25 MB |
| Business | 60,000 | 50 MB |
| Enterprise | Unlimited | 100 MB |
| Limit | How it works |
|---|---|
| Knowledge pages | Counted when a document is indexed. A document that does not fit in the pages left is not indexed (see Knowledge base usage). |
| File size | The per-file limit for your plan, in the table above. The upload dialog states it along with the supported formats and enforces it. Every place you add a document sends the file straight from your browser to storage and applies this same limit: the Documents page, the agent creation wizard, the agent editor, and Helio (its chat and its create-agent flow). Two exceptions: a replacement file you choose when you retry a document (on the Documents page or through Helio) is limited to 4 MB, and the prompt wizard's reference files are limited to 5 files and 3 MB in total. |
| Number of files | Not a plan feature. As a technical limit, a workspace can keep a set number of files; if it reaches it, Upload Document shows File limit reached instead of the upload form. |
| Upload rate | Up to 20 uploads per 10 minutes per workspace. Retrying a failed document counts against the same allowance. |
Knowledge base usage
The Documents page shows a knowledge base meter with your usage, for example "120 of 200 knowledge pages used", with the reminder "1 knowledge page = 2,500 characters of text read from your documents". On Enterprise it shows the pages in use with no limit.
- When less than one page is left, the meter warns that only a very short document can still be indexed.
- When the knowledge base is full, the meter says so and Upload Document opens a Knowledge base full dialog instead of the upload form. The meter's notice gives owners and admins an Upgrade plan action; other roles are asked to contact a workspace admin.
- If your workspace uses more pages than its plan includes (for example after moving to a smaller plan), your documents keep working, but new ones are not indexed until you delete documents or upgrade.
- When a single document does not fit in the pages left, it is not indexed: its row shows Failed with a message stating how many knowledge pages it needs and how many of your plan's pages are already in use. Delete documents you no longer need, or choose Upgrade plan, then choose Retry indexing on that document.
Upload a document
Steps:
- Press Upload Document.
- Drag a file onto the drop area, or click to browse.
- Complete the fields.
- (Optional) Open Advanced settings to override chunking.
- Press Upload Document.
Fields:
| Field | Required | Notes |
|---|---|---|
| Document File | Yes | The file to index. Supported types below, up to your plan's size limit. |
| Display Name | No | Defaults to the file name. Shown in the list and searchable. |
| Description | No | Tells the agent when to rely on this document. The Suggest button fills a starter template. |
| Document Type | Yes | Selects the chunking preset (see Document types). Defaults to General. |
Supported file types:
- PDF, DOCX, XLSX, PPTX, TXT, MD, CSV, JSON, HTML, PNG, JPEG, DOC, XLS, RTF, ODT
Some recognizable formats are not supported and are rejected with a specific message that names the format and suggests what to convert it to: HEIC/HEIF, WEBP, and TIFF images (convert to JPEG or PNG), legacy PowerPoint PPT (convert to PPTX), OpenDocument Spreadsheet ODS (convert to XLSX or CSV), and EML email exports (convert to PDF or plain text).
The file content is validated against its real type on upload, not just the file extension. A renamed or corrupted file is rejected even if it claims a supported type.
After upload the document appears as Processing and indexing starts in the background within seconds; you can close the dialog while it runs. Helios reads the text, detects the structure and splits the document so that no article is ever cut in half. Legal documents keep their structure (titles, chapters, articles), so an agent can quote an article verbatim by its number, and a document left at General is still read as a legal text when its content is one.
Document types (chunking presets)
The Document Type controls how the file is split into chunks for search. Choose the one that best matches the content.
| Type | Chunk size | Overlap | Best for |
|---|---|---|---|
| General | 600 tokens | 100 | Most natural-language documents (default). |
| Legal / Regulatory | 800 tokens | 150 | Laws, contracts, and regulations. Keeps full numbered articles together and enables verbatim article lookup. |
| Technical / Code | 1024 tokens | 200 | Code, tables, procedures, spreadsheets, CSV, and JSON. |
| FAQ / Q&A | 400 tokens | 50 | Question-and-answer content. |
If you leave Document Type at its General default, Helios picks a better preset automatically for some files: spreadsheets, CSV, and JSON are chunked with the Technical preset so a full row or record is never split mid-way. An explicit choice of any type is always respected and never overridden.
Advanced chunking settings
Open Advanced settings in the upload dialog to override the preset for technical use cases. When Advanced is on, its values are used instead of the Document Type preset.
| Setting | Range | Notes |
|---|---|---|
| Chunk size | 200 to 2000 tokens | Larger chunks preserve more context but match less precisely. Most documents work well between 400 and 1000 tokens. |
| Overlap | 0 to 400 tokens | Tokens shared between consecutive chunks. Capped at 25% of the chunk size. |
Custom values are clamped to safe limits before processing.
Processing and statuses
Each document shows a status:
| Status | Meaning |
|---|---|
| Processing | Queued or being indexed. While any document is processing, the list refreshes every few seconds. |
| Ready | Indexing finished. |
| Failed | Indexing stopped. The row says why and what to do next. |
Each row also carries a knowledge base badge that says whether agents can find the content: Indexed (searchable), Indexing, Failed, or Not indexed (indexing finished, but no searchable text came out of the file). The detail view shows the same state in its Knowledge base field.
How indexing runs:
- It works in steps (read the text, detect the structure, split, embed, write to the index) and saves its progress after each one. A large document, such as a long scan, can need several background runs of a few minutes each; it stays Processing and continues from where it stopped. A document is never marked Failed just because it takes a long time.
- If a step fails for a reason that can pass (a provider or network hiccup), it is retried automatically a few minutes later. After three failed attempts in a row without progress, the document is marked Failed. Problems that retrying cannot fix, such as a full knowledge base, a file with no readable text, or no key to index with, mark it Failed right away.
- The models used for indexing and search are OpenAI's. On managed AI credits, indexing and searching your documents adds no credits, only scanned pages do (see below), but a workspace with no credits left cannot index. When the workspace runs on its own key, indexing and knowledge searches use its OpenAI API key.
For a Failed document, Retry indexing runs indexing again. A document whose original file is kept is retried from that saved file, with nothing to select. An older document, uploaded before original files were kept, asks you to choose the file again; that replacement file is limited to 4 MB, and a larger one is refused with "This replacement file is larger than 4 MB, the most a reprocess can send. Choose a smaller file." Retries count against the same upload rate limit, and a document that is being indexed right now cannot be retried until that run ends.
A page with no text layer, such as a scanned PDF page, is read page by page. On managed AI credits each scanned page uses 1 credit, and scanned pages also count against a monthly scanned-page allowance that depends on your plan; Free does not include one. When the allowance runs out, the document is marked Failed but the pages already read are kept: choose Retry indexing once the allowance renews or after you upgrade, and indexing continues from where it stopped without reading or charging those pages again.
Documents uploaded before the current indexing system that still show Processing can be marked Failed from Helio (Mark stalled documents failed, owner or admin), so you can retry them. It only applies to those older records, unchanged for more than two minutes, and it never touches a document that is being indexed.
Document structure
Once a document is Ready, Refresh structure reads what the knowledge base holds for it and shows it in the Document structure section of the detail view: the document type and how many chapters and articles were indexed. It costs nothing, takes a moment, and you get a notification when it finishes. After the first read the row shows a Structure read badge, with a control to read it again after re-indexing the document.
Document details
Click a document name to open its detail view. It shows:
- File info: size, file type, uploaded date, and the Knowledge base state (Indexed, Indexing, Failed, or Not indexed).
- Document structure: the document type and the number of articles and chapters indexed, plus any title and summary saved for the document earlier.
- Assigned agents.
When the original file is kept, the detail view offers Download original. A document uploaded before original files were kept shows Original file not downloadable; upload it again and the copy will be kept.
Assign documents to agents
Each document row and the detail view include an Assign agents control.
- Toggle an agent to add or remove the document from that agent's knowledge base.
- Assigning the first document to an agent turns its knowledge base (RAG) on; removing the last one turns it off.
- Only owners and admins can change assignments; agents see them read-only.
- You can also manage the same assignments per agent from the Agents editor's knowledge base section.
Search and filters
- Search box: matches file name, display name, description, and document type.
- Status pills: All statuses, Ready, Processing, and Failed, each with a count.
- Type filter: All types, General, Legal / Regulatory, Technical / Code, and FAQ / Q&A.
- Stat chips above the list show Total Documents and Ready, plus Processing and Failed when any exist.
Delete a document
Press the delete icon on a document row and confirm. Only owners and admins see this action. It permanently removes the document from your knowledge base, deletes the stored original file, frees the knowledge pages it used, and removes it from any agents it was assigned to. It cannot be undone. If the document cannot be removed from the knowledge base, nothing is deleted. If its stored file cannot be deleted, the document stays in the list but is already out of the knowledge base. In either case, delete it again.
Good practices
- Give each document a clear Display Name.
- Write a Description so the agent knows when to use the document.
- Pick the right Document Type. Use Legal for laws and contracts to enable verbatim article lookup.
- Split very long documents by topic.
- Refresh a legal document's structure after it is indexed to confirm every article made it in.
Common errors
| Message or situation | Cause | Fix |
|---|---|---|
| Please verify your email | Email not yet verified | Verify your email, then retry |
| Invalid file type | Type not in the supported list | Re-export to a supported format |
| ... files aren't supported yet. Convert to ... first | HEIC/HEIF, WEBP, TIFF, legacy PPT, ODS, or EML file | Convert to the suggested format and re-upload |
| The file is empty | Zero-byte file | Re-export the file and try again |
| This file's content doesn't match its type | Extension changed, or file corrupted | Check the file, re-export, and try again |
| We couldn't read this file's content | Corrupted file, or a format Helios cannot recognize | Re-export to a supported format |
| File size exceeds the limit for your plan | Over your plan's per-file size limit | Use a smaller file or upgrade |
| File limit reached | The workspace keeps as many files as its technical limit allows | Delete files you no longer need, or upgrade your plan to keep more files |
| Knowledge base full | No knowledge pages left on your plan | Delete documents you no longer need, or upgrade your plan to add more pages |
| This document needs N knowledge pages... (on a Failed row) | The document does not fit in the pages left | Delete documents or choose Upgrade plan, then Retry indexing |
| Your workspace's file storage is full | The uploaded files reached your workspace's storage cap | Delete a document or upgrade your plan |
| This file has no text layer... | A scanned document needs a scanned-page allowance your plan does not include, or this month's allowance is used up | Upgrade, or wait for the allowance to renew, then choose Retry indexing |
| No OpenAI API key is available for indexing in this workspace | The workspace runs on its own key and has no OpenAI key | Add an OpenAI API key in Integrations, then choose Retry indexing |
| ... no AI credits left to index documents right now | The managed AI credits ran out (on Free, also before the month's credits are added) | Add a credit pack (paid plans), wait for the credits to renew, upgrade, or switch the AI Engine to your own OpenAI key; then choose Retry indexing |
| This month's indexing allowance is used up | On Free, the indexing Helios covers each month is used up | Upgrade to index it now, or retry next month |
| We couldn't read any text from this file | No text could be extracted, so there is nothing to index | Upload a PDF, Word, spreadsheet or text document |
| The original file is no longer stored | The saved file is missing | Upload the document again |
| We could not prepare this document | Indexing failed for another reason | Choose Retry indexing; if it fails again, contact support |
| You're uploading too quickly | More than 20 uploads in 10 minutes | Wait the number of seconds shown, then retry |
| Failed status | Indexing stopped; the row shows one of the messages above | Follow the message, then choose Retry indexing, or delete the document |
| Structure could not be read | The knowledge base did not return the document's structure (for example, it was briefly unavailable) | Try again in a moment; if the document is not in the index, choose Retry indexing |
Screenshot

Related
- AI Agents (RAG)
- Integrations (OpenAI API key, when your workspace runs on its own key)