Get Session Resource

Updated at:

Retrieves the details of a single mounted resource in a session.

Prerequisites

Endpoint and authentication have been configured. For details, see API overview and authentication.

Endpoint

GET/sessions/{session_id}/resources/{resource_id}

Path parameters

session_idstringRequired

Session ID, format sesn_<ULID>

resource_idstringRequired

Resource ID, format sesrsc_<ULID>

Request example

curl "$AGENTSTUDIO_URL/sessions/sesn_xxx/resources/sesrsc_xxx" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"

Response fields

idstring

Resource ID, format sesrsc_<ULID>

typestring

Resource type, always file

file_idstring

File ID of the internal copy

mount_pathstring

Full mount path with the /mnt/session/uploads/ prefix

created_atstring

Creation time, ISO 8601

updated_atstring

Last update time, ISO 8601

request_idstring

Unique identifier of this request

Response example

{
  "id": "sesrsc_xxx",
  "type": "file",
  "file_id": "file_xxx",
  "mount_path": "/mnt/session/uploads/data.csv",
  "created_at": "2026-05-28T08:23:11Z",
  "updated_at": "2026-05-28T08:23:11Z",
  "request_id": "xxx"
}

Error codes

For error codes, see Managed Agent API error codes.