Sessions & Agents
Memory Operations
Upload File
Upload a file directly to the agent's memory namespace (Session-based)
Supported formats: .pdf, .docx, .xlsx, .json, .txt, .csv, .md Maximum file size: 5GB
The file is processed by Moorcheh to extract text and generate embeddings, making its content searchable via recall.
Requires:
- X-Session-Token: {session_token}
- Content-Type: multipart/form-data
post/api/v2/agents/{agent_id}/upload-file
Path parameters
agent_idstring required
Headers
x-session-tokenstring nullable
Cookies
memanto_session_tokenstring nullable
Response
Successful Response