Read a file
GET
/v1/sessions/{id}/filesRead 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.
Format
uuidQuery Parameters
path*string
A file path relative to /workspace, or an absolute path inside it.
Length
length <= 4096Response 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