List files in a session mountv3.1

GET
/api/v3.1/tool_router/session/{session_id}/mounts/{mount_id}/items

Lists files in a workbench session storage mount with cursor-based pagination. Use the download_url endpoint with the returned mount_relative_path to get a presigned download URL.

Authorization

ApiKeyAuth
x-api-key<token>

Project API key authentication

In: header

Path Parameters

session_idstringRequired

The unique identifier of the tool router session

Format: toolRouterSessionId
mount_idstringRequired

ID of the storage mount

Query Parameters

cursorstring

Pagination cursor from the previous response next_cursor field

limitnumber

Maximum number of files to return per page (1-500)

Default: 100
mount_relative_prefixstring

Relative path prefix within the mount for filtering

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v3.1/tool_router/session/trs_1a2b3c4d5e6f/mounts/files/items"
{  "items": [    {      "mount_relative_path": "string",      "sandbox_mount_prefix": "string",      "size": 0,      "last_modified": "string"    }  ],  "next_cursor": "string"}