List files in an uploaded archive
GET/api/v1/files/archives/:assessment_id/tree
List files and directories in an assessment's uploaded source archive.
Downloads the archive from object storage, extracts its file entries in memory, and returns a sorted tree (blobs + synthesized directories) for the file browser.
- Scope required:
assessments:read. - 413 when the stored archive exceeds
max_repo_raw_download_size_mb. - 400 when the archive is malformed and extraction fails.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 413
- 422
- 429
- 500
Successful Response
Bad request — malformed input or failed validation.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Resource not found, or hidden for tenant-enumeration safety (the caller lacks permission to know whether the resource exists).
Conflict — the current resource state does not allow this operation (e.g. assessment already started, email already in use).
Archive too large to process
Semantic validation failure — request shape was valid but contents were not.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.