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.
| Method | POST |
| Path | /v1/files |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | files |
Request body
multipart/form-dataResponse body
{ "key": "...", "size": 1234 }