Read a file

GET/v1/sessions/{id}/files

Read a regular session file. File operations reject symlink traversal and files over 10 MiB.

Authorization

bearerAuth
AuthorizationBearer <token>

Use the owner-scoped product API key provided by the service operator.

In: header

Path Parameters

id*string

Session ID returned by open or list.

Formatuuid

Query Parameters

path*string

A file path relative to /workspace, or an absolute path inside it.

Lengthlength <= 4096

Response Body

application/octet-stream

application/json

Request
curl -X GET "https://assemble-vms-api.fly.dev/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/files?path=string" \  -H "Authorization: Bearer ${ASSEMBLE_API_KEY}"
Response
Empty