List a directory

GET/v1/sessions/{id}/files/list

List up to 1,000 direct entries. A larger directory returns an error; this endpoint does not paginate directory entries.

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
Lengthlength <= 4096
Default"."

Response Body

application/json

application/json

Request
curl -X GET "https://assemble-vms-api.fly.dev/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/list" \  -H "Authorization: Bearer ${ASSEMBLE_API_KEY}"
Response
{  "items": [    {      "name": "string",      "type": "file",      "size": 0    }  ]}