v63

latestOpenAPI 3.0.0Proprietaryraw.githubusercontent.com2026-08-0110571.8 MB
Tool Router

Create a presigned download URL for a mount file

Generates a presigned download URL for a file in a workbench session mount. Accepts a relative path within the mount.

post/api/v3.1/tool_router/session/{session_id}/mounts/{mount_id}/download_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

mount_relative_pathstring required

Relative file path within the mount

Example request

{
  "mount_relative_path": "report.pdf"
}

Response

Download URL created successfully

download_urlstring required

Presigned download URL for the file

mount_relative_pathstring required

Relative file path within the mount (e.g. "report.pdf")

sandbox_mount_prefixstring required

Absolute mount path inside the sandbox (e.g. /mnt/files)

expires_atstring required

ISO 8601 timestamp when the download URL expires