MINARA

Upload a file

POST /v1/files — Upload a file into the sandboxed workspace. Returns a key that can be referenced by tools via `read_file`.

POST /v1/files

Upload a file into the sandboxed workspace. Returns a key that can be referenced by tools via read_file.

MethodPOST
Path/v1/files
AuthAuthorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set
Categoryfiles

Request body

multipart/form-data

Response body

{ "key": "...", "size": 1234 }

On this page