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; size limits follow Moorcheh / server configuration (large uploads may take time).Authentication
API clients do not send an API key orAuthorization header.
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
The unique identifier of the agent.
Body (multipart)
File field name must be
file (FastAPI UploadFile parameter).