Every instance has a real filesystem. You upload a file into it, then reference the path in your message. The agent reads it off disk, can run code against it, and it stays for later turns. There is no attachment field: the message is plain text that names a path.Documentation Index
Fetch the complete documentation index at: https://agent37.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Action | Endpoint |
|---|---|
| Upload | POST /v1/instances/{id}/files (multipart) |
| List a directory | GET /v1/instances/{id}/files?path= |
| Read / download | GET /v1/instances/{id}/files/content?path= |
| Delete | DELETE /v1/instances/{id}/files?path= |
Upload a file
Send the file asmultipart/form-data on the files field. The response returns the path it landed at and its size in bytes.
The path the file landed at on the instance. Use this verbatim when you reference it in a message.
The uploaded file’s size in bytes.
Upload, then ask
Reference the path from the upload ininput. The message is plain text: naming the path is all it takes for the agent to open the file.
The file persists on the instance, so later messages in any session can reference the same path without re-uploading.
List, read, and delete
List a directory
List a directory
Pass
path to list its entries.curl
Read or download a file
Read or download a file
Pass the file’s
path to get its contents back.curl
Delete a file
Delete a file
Pass the file’s
path. Deletion removes it from the instance’s disk.curl
Next steps
Send a message
Reference an uploaded path in
input and read output_text back.Instances
The computer that holds the filesystem, running until you delete it.