v63

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

Delete a file from a session mount

Deletes a file from a workbench session storage mount. S3 delete is idempotent — deleting a non-existent file succeeds silently.

post/api/v3.1/tool_router/session/{session_id}/mounts/{mount_id}/delete

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

File deleted successfully

mount_relative_pathstring required

Relative file path that was deleted

sandbox_mount_prefixstring required

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