Screenshots API

Screenshots endpoints in the Brix REST API for digital signage: 2 operations (GET). Each lists its path, auth, required permission and a curl example.

View as Markdown · For AI agents: the full docs index is at /llms.txt

Base URL https://api.brixsignage.com. Send Authorization: Bearer $BRIX_API_KEY unless an operation says Auth: none or Auth: no API key. The Permission line names what the key must hold. See Authentication and scopes, Errors and rate limits and Pagination.

Every 4xx and 5xx response below returns this body:

FieldTypeDescription
errorstringMachine-readable code: unauthorized, forbidden, not_found, validation_error, conflict, rate_limited, internal_error, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

GET /v1/screenshots

Auth: Bearer token. Permission: screen.view.

List screen captures uploaded by your screens. Filter by a specific screen using the screenId query parameter. The image bytes for each screenshot are retrieved separately from GET /v1/screenshots/:id/file.

ParameterInTypeRequiredDescription
screenIdquerystringnoOnly this screen's captures.
curl "https://api.brixsignage.com/v1/screenshots" \
  -H "Authorization: Bearer $BRIX_API_KEY"

Response 200: Success.

FieldTypeDescription
dataarray of object
data[].idstring
data[].screenIdstring
data[].screenNamestring
data[].urlstringDownload path (GET /v1/screenshots/{id}/file).
data[].capturedAtstringISO-8601 timestamp (UTC).
data[].confirmedAtstring | null
data[].widthinteger | null
data[].heightinteger | null
data[].sourceWidthinteger | null
data[].sourceHeightinteger | null
data[].sizeBytesinteger
data[].capturedBy"agent" | "projection" | "accessibility" | "webview" | null
data[].belowNativebooleanPresent and true when the capture is smaller than the panel's native resolution.

Response 401: Missing, expired or revoked bearer token.

Response 403: The token lacks the permission this operation needs (see x-brix-permission).

Response 5XX: Server error. The body carries a requestId to quote to support.

GET /v1/screenshots/{id}/file

Auth: Bearer token. Permission: screen.view.

Download the image bytes of one screen capture.

ParameterInTypeRequiredDescription
idpathstringyesScreenshot id.
curl "https://api.brixsignage.com/v1/screenshots/{id}/file" \
  -H "Authorization: Bearer $BRIX_API_KEY"

Response 401: Missing, expired or revoked bearer token.

Response 403: The token lacks the permission this operation needs (see x-brix-permission).

Response 404: No screenshot with this id, or its file is gone.

Response 5XX: Server error. The body carries a requestId to quote to support.