Tool Router
Create a presigned upload URL for a mount file
Generates a presigned upload URL for uploading a file to a workbench session mount. The caller should PUT the file content directly to the returned URL.
post/api/v3.1/tool_router/session/{session_id}/mounts/{mount_id}/upload_url
Path parameters
session_idstring toolRouterSessionId required
The unique identifier of the tool router session
Example:trs_1a2b3c4d5e6f
The unique identifier of the tool router session
mount_idstring required
ID of the storage mount
Example:files
ID of the storage mount
Request body
Example request
{
"mount_relative_path": "report.pdf",
"mimetype": "application/pdf"
}Response
Upload URL created successfully