Data
Upload File
Upload a document to be processed and stored in the agent’s session namespace.
POST
Overview
Uploads a file into the agent’s Moorcheh namespace for the active session. Moorcheh extracts text and indexes it so content can be discovered via Recall.Supported extensions:
.pdf, .docx, .xlsx, .json, .txt, .csv, .md. The route validates the extension before upload. Files are streamed to disk in 1 MB chunks and hard-capped at 5 GB; anything larger is rejected mid-upload with 413.Authentication
API clients do not send an API key orAuthorization header.
string
required
Session token from Activate Agent. Must match
agent_id.-F, do not set Content-Type manually — curl sets multipart/form-data with the correct boundary.
Path Parameters
string
required
The unique identifier of the agent.
Body (multipart)
file
required
File field name must be
file (FastAPI UploadFile parameter).