v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
workspace

Upload file to workspace

Upload a file to the user's workspace.

Files are stored in session-scoped paths when session_id is provided, so the agent's session-scoped tools can discover them automatically.

post/api/workspace/files/upload

Query parameters

session_idstring nullable
overwriteboolean

Response

Successful Response

file_idstring required
namestring required
pathstring required
mime_typestring required
size_bytesinteger required