/filesexperimentalSession onlyBoth category and scopeId are required; there is no unscoped listing. Responds 403 when the caller is not a member of the workshop identified by scopeId.
Query parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
| category | FileCategory | Yes | enum"grid_tile_icon""estimate_pdf" | - |
| scopeId | string | Yes | - | The workshop id to list files for. |
Responses
200SuccessField Type Required Constraints Description files array of FileRecord Yes - - Example{ "files": [ { "id": "file-1", "scope": "workshop", "scopeId": "workshop-1", "category": "grid_tile_icon", "name": "chisel-icon.png", "contentType": "image/png", "sizeBytes": 48213, "uploadedByUid": "uid-1", "createdAt": "2026-08-05T10:15:00.000Z" } ] }400category or scopeId is missing or invalidNo body.
401Not authenticatedNo body.
403ForbiddenNo body.
Example request
curl -X GET 'https://mercastra.cloud/api/files?category=<category>&scopeId=<scopeId>' \ -H 'Cookie: session=<session cookie>'