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_idstringRequiredSession ID, format sesn_<ULID>
resource_idstringRequiredResource ID, format sesrsc_<ULID>
Request example
curl "$AGENTSTUDIO_URL/sessions/sesn_xxx/resources/sesrsc_xxx" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response fields
idstringResource ID, format sesrsc_<ULID>
typestringResource type, always file
file_idstringFile ID of the internal copy
mount_pathstringFull mount path with the /mnt/session/uploads/ prefix
created_atstringCreation time, ISO 8601
updated_atstringLast update time, ISO 8601
request_idstringUnique 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.
Is this page helpful?