Paginated list of resources currently mounted in a session.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET /sessions/{session_id}/resources
Path parameters
| Field | Required | Type | Description |
|---|---|---|---|
session_id | Yes | string | Session ID, format sesn_<ULID> |
Query parameters
| Field | Required | Type | Description |
|---|---|---|---|
limit | No | integer | Items per page; default 20, max 100 |
page | No | string | Opaque pagination cursor; omit on the first request, pass the next_page value from the previous response on subsequent requests |
Request example
Response example
Response fields
| Field | Type | Description |
|---|---|---|
data | array<object> | Array of resource objects |
data[].id | string | Resource ID, format sesrsc_<ULID> |
data[].type | string | Resource type, always file |
data[].file_id | string | File ID of the internal copy |
data[].mount_path | string | Full mount path with the /mnt/session/uploads/ prefix |
data[].created_at | string | Creation time, ISO 8601 |
data[].updated_at | string | Last update time, ISO 8601 |
next_page | string | Next page cursor; pass as the page parameter to continue; null when there is no more data |
request_id | string | Unique request identifier |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 400 | InvalidParameter | Required parameter missing or invalid |
| 401 | InvalidApiKey | Invalid API key provided |