agent-knowledge
Upload Documents
Upload PDF/document files to an agent’s knowledge base.
PHASE 3 MIGRATION: Now uses local vector store (FAISS) instead of external factory.
This endpoint:
- Accepts multiple PDF/document files
- Processes them locally (extract text, chunk, embed)
- Stores embeddings in local FAISS vector index
- Makes documents immediately searchable for RAG
Supported formats: PDF, TXT, DOCX, MD Max file size: 10MB per file
POST
Upload Documents
Documentation Index
Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
multipart/form-data
PDF or document files to upload
Previous
Get Task StatusGet the status of a background task.
Use this to track:
- Knowledge base processing
- Document uploads
- URL ingestion
Status values:
- `pending`: Task queued but not started
- `running`: Task is currently processing
- `completed`: Task finished successfully
- `failed`: Task encountered an error
Example:
```
GET /agents/tasks/task_abc123
```
Next
Upload Documents