Stream a screenshot image
GET/api/v1/screenshots/image
Stream a screenshot image through the API.
Resolves the screenshot's object storage key, enforces RBAC on the owning assessment, then proxies the object bytes to the browser.
- Scope required:
assessments:read. - Router is 404-gated by the
release_screenshotsflag. - Response is marked
private, no-storeso browsers never cache an authenticated image past logout / account switch.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Screenshot image bytes.
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).
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.