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 by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset)
Categoryfiles

Request body

multipart/form-data

Response body

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

On this page