Skip to main content

Documents and Archive

Documents let you upload files—reports, spreadsheets, compliance audits, and more—so their content becomes searchable by Collate AI Chat, without needing to rewrite them as an Article. Organize files into folders to keep related documents together.

Upload a Document

  1. From the left navigation bar, navigate to Context Center > Documents. Access documents
  2. Click Upload File, or use Quick Actions in the sidebar. Upload a file to Documents
  3. Browse to the files on your computer and upload them.
Attach a comma-separated values (CSV), tab-separated values (TSV), or .xlsx document to a Collate AI Chat conversation from the plus button to ask questions about its data. For more information, see Analyze CSV and Excel Files.

View and Manage Documents

The Documents page shows:
  • Search bar: Search documents by file name.
  • Folder panel: Lists your folders on the left, each showing how many files it contains.
    • To create a new folder, click the plus icon icon next to Folder.
    • Click a folder to see only the files inside it.
    Document folder
  • File list: Shows the total number of files, sorted by Recently uploaded by default.
  • Each file row shows:
    • The file name and type.
    • Its size, who uploaded it, and when.
    • Preview: Open the file in a preview window. See Preview a Document.
    • Download: Save a copy of the file.
    • Copy: Duplicate the file.
    • Three-dot (⋮) menu:
      • Visibility: Choose who can see the file. See Control Who Can See a Document.
      • Move to Folder: Move the file into a different folder.
      • Delete: Remove the file from Documents. This doesn’t erase it immediately—see Archive. Manage a document from the file row menu

Preview a Document

View your file before downloading or after uploading. To preview a file, follow these steps:
  1. In the file list, click the Preview (eye) icon next to a file. A preview window opens with the file name as its title. Preview icon on a file row in Documents
  2. Read the file, then close the window. Preview window showing the contents of a CSV file
Preview supports the following file types:
  • Markdown: Shown as formatted text.
  • Text and CSV: Shown as plain text. Collate shows the first 100,000 characters and adds a note that the preview is truncated. Download the file to read the rest.
  • PDF: Shown in the preview window.
  • Images: Shown in the preview window. Collate doesn’t extract text from images, so an uploaded image shows the Unsupported status in the file list and produces no memories. An uploaded PNG with the Unsupported status in the Documents list
For any other file type, such as Word, Excel, or PowerPoint files, the Preview icon is hidden. Click Download to open the file in another application. If a file is larger than 25 MB, the preview window shows This file is too large to preview. Download it to view. with a Download button.

Control Who Can See a Document

Each document has a visibility setting. Visibility controls who can find and open the document in Documents and in search. It’s available from release 2.1. To change the setting:
  1. In the file list, click the ⋮ icon on the file row. Three-dot menu on a file row in Documents
  2. Select Visibility, then select one of the following options:
    • Private: Visible only to the owners of the document and to administrators.
    • Workspace: Visible to everyone in the workspace.
    • Shared: Visible only to the people you choose. Select the users in the list that opens. They get view access.
    Visibility submenu with Private, Workspace, and Shared options
Collate shows a confirmation message when the setting is saved. Keep the following in mind:
  • Only the owner of a document or an administrator can make it Private or Shared. Other users who try this see the message Only a document’s owner can make it private or choose who it is shared with.
  • Documents that were uploaded before release 2.1 have no visibility setting. They stay visible to everyone, as before. A document is restricted only when you set it to Private or Shared.
  • Users who can’t see a document can’t open it, and it doesn’t appear in the list or in search results for them.
  • The Visibility option appears only for users whose role allows editing documents. See Access Control (RBAC).

Keep Uploaded Documents Up to Date

An uploaded document is a copy that Collate stores. Collate doesn’t sync it with the original file, and it doesn’t read files that are only linked from elsewhere. When the original file changes:
  1. Upload the new version of the file.
  2. Delete the old version. Collate moves it to Archive.
To avoid keeping two copies, leave long or frequently changing documents in their own system and connect that system as a plugin instead.

Documents and MCP

MCP clients can’t download the original file. They read the question-and-answer notes that Collate extracts from the text of an uploaded file, through MCP. Collate extracts these notes from uploaded files starting with release 2.1. Collate doesn’t return the extracted text of very large files, about 100,000 characters or more. For more information, see the MCP reference.

Upload and Manage Documents with the API

You can upload, download, move, and delete files in Documents with the Collate REST API, so you can load many files with a script. Use the token of a bot or user that has permission to create and delete Context Center files. If a request returns 403, ask an administrator to add a role that allows it. The upload request is a multipart form. It takes these fields:
  • file: The file to upload.
  • displayName: Optional. The name shown in Documents.
  • description: Optional. A description of the file.
  • folder: Optional. The fully qualified name of the folder to put the file in.
To upload many files, run one request for each file. When files are stored in Amazon S3 or Azure Blob Storage, a download redirects to a short-lived signed link. With curl, add -L to follow the redirect, or add ?redirect=false to stream the file through Collate. A delete moves the file to Archive.
To remove a file permanently, add ?hardDelete=true to the delete request. A permanent delete can’t be undone, and the file doesn’t go to Archive.

Archive

Deleting a document moves it to Context Center > Archive instead of erasing it right away. From Archive, you can:
  • To restore the document, click the Restore icon next to the document.
  • To remove the document permanently, click the Delete icon next to the document. Archive actions
Archive currently holds only deleted Documents—deleted Articles and Memories aren’t tracked here.