NNiaHelp Center

Guide

Index Document by Upload

Overview

Nia is a Search & Index API platform designed to help you build intelligent agents with access to custom knowledge bases. By indexing documents, you make their content searchable and queryable—enabling your AI agents to retrieve relevant information quickly during conversations or tasks. This workflow walks you through uploading a PDF file directly from your local machine. Unlike subscribing to pre-indexed public sources (which are instant), uploading your own documents allows you to add proprietary content, internal documentation, or specialized materials to your private workspace. The indexing process runs asynchronously in the background, and once complete, the document becomes available for search across your workspace.

Before you begin

  • Active Nia account with access to app.trynia.ai (you must be logged in and viewing your workspace)
  • PDF file ready to upload (maximum 200 MB file size)
  • Appropriate workspace permissions to create or manage indexed documents

Step by step

1
ClickDocuments

Navigate to the Documents section of your Nia workspace by clicking the Documents link in the main navigation. This displays your current indexed documents and provides options to add new ones.

Tip. The Documents link is typically found in the left sidebar or top navigation of app.trynia.ai. If you don't see it immediately, ensure you are logged in and your session has fully loaded.
Step 1
2
ClickIndex PDF

Click the Index PDF button to open the document upload interface. This initiates the workflow for adding a new PDF to your workspace.

Tip. The Index PDF button may appear as a primary action in the Documents section. If you see multiple options (e.g., 'Enter URL' for remote documents), make sure you are choosing the upload/PDF option rather than URL indexing.
Step 2
3
ClickEnter URL Upload File Drop PDF or click to browse Maximum file size: 200MB Display name (optional)

Click on the upload area (labeled with instructions like 'Drop PDF or click to browse') to open your file browser. This allows you to select a PDF file from your local machine. Note the maximum file size limit of 200 MB displayed in the interface.

Tip. You can either click the upload zone to browse your file system or (on many browsers) drag and drop a PDF file directly onto this area. The optional display name field lets you give the document a friendly name for easier identification in your workspace.
Warning. Ensure your PDF file does not exceed 200 MB. If it does, consider splitting it into smaller documents before uploading.
Step 3
4
upload

Select the PDF file (Browzer-warm-referrals.pdf in this example) from your file browser and confirm the upload. The file is now queued for processing by Nia's indexing system.

Tip. After selecting the file, you may see a brief upload progress indicator. Larger files (>50 MB) may take a few seconds to transfer before the next step becomes available.
5
ClickIndex PDF

Click the Index PDF button again to finalize the indexing request and begin processing the uploaded document. Once clicked, the document will be asynchronously indexed and its contents will become searchable in your workspace.

Tip. You may see a success message or status change (e.g., 'Indexing in progress') after this click. You do not need to remain on the page while indexing completes—you can navigate elsewhere in your workspace.
Step 5

Confirm it worked

  1. 1After clicking the final Index PDF button, you should see a confirmation message or status indicator (e.g., 'Indexing in progress' or 'Document queued for indexing')
  2. 2The uploaded PDF filename appears in your Documents list once indexing begins
  3. 3Navigate to your workspace's Documents section and confirm the document is listed with a processing or indexed status
  4. 4Once indexing completes, you can search the document's content using Nia's search tools

Common issues

Keep reading

Index Docs - Nia AI Documentation

paths: /shell-docs/index: post: tags: - Usage summary: Index Docs operationId: index_docs_v2_shell_docs_index_post requestBody: content: application/json: schema: $ref: '#/components/schemas/IndexRequest' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' [...] type: http [...] scheme: bearer bearer

docs.trynia.ai

Capabilities - Nia AI Documentation

Bring knowledge into Nia from repositories, docs, papers, datasets, spreadsheets, Google Drive, and local folders. Use `index`, `manage_resource`, and `auto_subscribe_dependencies`. [...] Bring in a Source [...] Index a repository, documentation site, paper, dataset, spreadsheet, or local folder with `index`, or use the dedicated Google Drive Integration flow for Drive content. [...] ### `index` [...] Universal entry point for repositories, documentation, research papers, HuggingFace datasets, spreadsheets, and local folders. [...] Auto-detects: [...] - GitHub URLs as repositories - arXiv and PDF URLs as papers or PDFs - HuggingFace dataset URLs as datasets - CSV, TSV, XLSX, and XLS files as spreadsheets - Local paths as local folders - Other web URLs as documentation [...] Typical prompts: [...] ``` "Index https://github.com/owner/repo" "Index https://docs.example.com" "Index https://arxiv.org/abs/2401.12345" "Index https://huggingface.co/datasets/openai/gsm8k" ```

docs.trynia.ai