Diagnostics

Error events and recent logs the app sends, before and after sign-in, for the Platform admin to support Users. See ADR 0020.

List diagnostics

GET /v1/diagnostics

MCP tool
list_diagnostics read-only
Auth
Bearer token (bearerAuth)

Error events and log uploads from every install, newest first, without details or log lines. The Platform admin only. kind, device_id, user_id, organisation_id and level narrow it, and from (inclusive) and to (exclusive) to a range of times it was received. user_id includes the records a Device sent before its User signed in on it. Each record has its User's email beside the ID. A page can hold fewer items than limit, even none, and still have a next_cursor. 503 unavailable when the store can't be read.

Parameters

NameInTypeRequiredDescription
cursorquerystringnoThe next_cursor from the previous page. Omit it for the first page. At least 1 character.
limitqueryintegernoThe most items to return. 1 to 100. Default 50.
kindqueryDiagnosticKindnoOnly records of this kind.
device_idqueryDeviceIdnoOnly this install's records.
user_idqueryUserIdnoOnly this User's records: those sent while they were signed in, and those sent before sign-in from a Device they registered.
organisation_idqueryOrganisationIdnoOnly records sent with this Organisation selected.
levelqueryErrorLevelnoOnly error events of this level.
fromqueryTimestampnoOnly records received at or after this time.
toqueryTimestampnoOnly records received before this time.

Responses

StatusDescriptionBody
200One page of records.DiagnosticRecordPage
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
503UnavailableProblem

Send diagnostics

POST /v1/diagnostics

MCP tool
submit_diagnostics not destructive
Auth
Bearer token (bearerAuth)

Stores error events and the recent log from the caller's app install (ADR 0020), stamped with the caller and, from context, the Organisation selected in the app. Any signed-in User. Before sign-in the app sends the same body to POST /diagnostics/anonymous, which has tighter limits. A device_id another User registered, or an organisation_id the caller can't see, is 404. Tokens, keys, emails and IP addresses in messages, details and log lines are replaced before anything is stored, and the request's IP address becomes a country and network provider, then is dropped. The body is capped at 1 MiB (413 payload_too_large); uploads are rate-limited per User (429 rate_limited, with retry_after_seconds); and 503 unavailable means nothing was stored, so send it again later. Diagnostics are telemetry, not changes, so nothing is audited. Error events are kept 90 days, log uploads 30.

Request body

DiagnosticsUpload, as application/json. Required.

Responses

StatusDescriptionBody
202What was stored.DiagnosticsReceipt
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem
413PayloadTooLargeProblem
429TooManyRequestsProblem
503UnavailableProblem

List crash reports

GET /v1/diagnostics/crash-reports

MCP tool
list_crash_reports read-only
Auth
Bearer token (bearerAuth)

Symbolised crash reports from every install, newest first, without their stacks. The Platform admin only. signature, device_id, user_id, organisation_id, app_version and platform narrow it, and from (inclusive) and to (exclusive) to a range of times they were received. user_id includes the crashes a Device sent before its User signed in on it. Each has its User's email beside the ID. A page can hold fewer items than limit, even none, and still have a next_cursor. 503 unavailable when the store can't be read.

Parameters

NameInTypeRequiredDescription
cursorquerystringnoThe next_cursor from the previous page. Omit it for the first page. At least 1 character.
limitqueryintegernoThe most items to return. 1 to 100. Default 50.
signaturequeryCrashSignatureKeynoOnly crashes with this signature.
device_idqueryDeviceIdnoOnly this install's.
user_idqueryUserIdnoOnly this User's: those sent while they were signed in, and those sent before sign-in from a Device they registered.
organisation_idqueryOrganisationIdnoOnly those sent with this Organisation selected.
app_versionqueryAppVersionnoOnly crashes of this version of the app.
platformqueryDevicePlatformnoOnly this platform.
fromqueryTimestampnoOnly those received at or after this time.
toqueryTimestampnoOnly those received before this time.

Responses

StatusDescriptionBody
200One page of crash reports.CrashReportPage
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
503UnavailableProblem

Send a crash report

POST /v1/diagnostics/crash-reports

MCP tool
create_crash_report not destructive
Auth
Bearer token (bearerAuth)

Makes a crash report for a minidump from the caller's app install (ADR 0020), and returns where to PUT the dump: straight to storage, as is, with the headers given, within 15 minutes. Any signed-in User. Before sign-in the app sends the same body to POST /diagnostics/anonymous/crash-reports. A device_id another User registered, or an organisation_id the caller can't see, is 404. Rate-limited per User with the caller's other diagnostics (429 rate_limited, with retry_after_seconds); 503 unavailable means nothing was kept, so ask again later. Once the dump has arrived the Backend symbolises it and groups it under a crash signature; only then is it listed. Send the app's log from when it crashed with submit_diagnostics, reason crash and this crash_report_id. A crash report that never gets its dump is never listed. Telemetry, not a change, so nothing is audited. Crash reports and their dumps are kept 90 days.

Request body

CrashReportRequest, as application/json. Required.

Responses

StatusDescriptionBody
201The crash report, and where to send its dump.CrashReportTicket
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem
429TooManyRequestsProblem
503UnavailableProblem

Get a crash report

GET /v1/diagnostics/crash-reports/{crash_report_id}

MCP tool
get_crash_report read-only
Auth
Bearer token (bearerAuth)

One crash report, with the crashing thread's stack, symbolised where its build's symbols were uploaded, and the log sent with it. The Platform admin only. 404 until its dump has arrived and been symbolised, and after 90 days.

Parameters

NameInTypeRequiredDescription
crash_report_idpathCrashReportIdyesCrash report ID.

Responses

StatusDescriptionBody
200The crash report.CrashReport
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem
503UnavailableProblem

List crash signatures

GET /v1/diagnostics/crash-signatures

MCP tool
list_crash_signatures read-only
Auth
Bearer token (bearerAuth)

Crash reports grouped by signature (identical stacks), most crashes first, then the latest. The Platform admin only. app_version and platform count only those crashes, and from (inclusive) and to (exclusive) only those received in a range of times. list_crash_reports with signature lists one signature's crashes. 503 unavailable when the store can't be read.

Parameters

NameInTypeRequiredDescription
cursorquerystringnoThe next_cursor from the previous page. Omit it for the first page. At least 1 character.
limitqueryintegernoThe most items to return. 1 to 100. Default 50.
app_versionqueryAppVersionnoCount only crashes of this version of the app.
platformqueryDevicePlatformnoCount only crashes on this platform.
fromqueryTimestampnoCount only crashes received at or after this time.
toqueryTimestampnoCount only crashes received before this time.

Responses

StatusDescriptionBody
200One page of crash signatures.CrashSignaturePage
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
503UnavailableProblem

Get an error event

GET /v1/diagnostics/errors/{error_event_id}

MCP tool
get_error_event read-only
Auth
Bearer token (bearerAuth)

One error event, with its details, redacted. The Platform admin only. Error events are kept 90 days, then 404.

Parameters

NameInTypeRequiredDescription
error_event_idpathErrorEventIdyesError event ID.

Responses

StatusDescriptionBody
200The error event.DiagnosticRecord
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem
503UnavailableProblem

Get a log upload

GET /v1/diagnostics/logs/{log_upload_id}

MCP tool
get_log_upload read-only
Auth
Bearer token (bearerAuth)

One log upload, with its lines, redacted, oldest first. The Platform admin only. Log uploads are kept 30 days, then 404.

Parameters

NameInTypeRequiredDescription
log_upload_idpathLogUploadIdyesLog upload ID.

Responses

StatusDescriptionBody
200The log upload.DiagnosticRecord
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem
503UnavailableProblem

Schemas

DiagnosticKind

An error event (ERR) or a log upload (LOG).

Type: string. One of error, log.

DeviceId

Device ID.

Type: string. Exactly 18 characters. Pattern ^DEV[a-z0-9]{15}$. Example: DEV8hfaw8hfpwhjf94.

UserId

User ID.

Type: string. Exactly 18 characters. Pattern ^USR[a-z0-9]{15}$. Example: USR8hfaw8hfpwhjf94.

OrganisationId

Organisation ID.

Type: string. Exactly 18 characters. Pattern ^ORG[a-z0-9]{15}$. Example: ORG8hfaw8hfpwhjf94.

ErrorLevel

How bad it was.

Type: string. One of error, warning.

Timestamp

UTC, with milliseconds and a Z suffix.

Type: string (date-time). Pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$. Example: 2026-11-28T14:27:03.412Z.

DiagnosticRecordPage

FieldTypeRequiredDescription
itemsarray of DiagnosticRecordSummaryyes
next_cursorstring | nullyesAn opaque cursor for the next page, or null on the last page.

CursorPage

One page of a list. A list response combines this with its own items through allOf. Pass next_cursor back as cursor to get the next page; it is null on the last page.

FieldTypeRequiredDescription
itemsarray of anyyes
next_cursorstring | nullyesAn opaque cursor for the next page, or null on the last page.

DiagnosticRecordSummary

One diagnostics record, without its details or log lines.

FieldTypeRequiredDescription
idAnyIdyesAn error event (ERR) or log upload (LOG) ID.
kindDiagnosticKindyesAn error event (ERR) or a log upload (LOG).
received_atTimestampyesWhen the Backend stored it.
occurred_atTimestampyesWhen it happened (a log: when it was sent), by the app's clock.
device_idDeviceIdyesDevice ID.
user_idUserId | nullyesWho was signed in, or null before sign-in. A Device's earlier records belong to the User who registered it.
user_emailstring | nullyesThe email of user_id, or of the Device's User for a record from before sign-in, as it is now. null when neither is known.
organisation_idOrganisationId | nullyesThe Organisation selected in the app, or null.
app_versionAppVersionyesThe app's version, as in X-Celerbeam-Client.
platformDevicePlatformyesThe operating system family.
osDeviceOsyesThe operating system and its version, as the app reports it.
gpuDeviceGpu | nullyes
decoderDiagnosticDecoder | nullyes
broadcast_idBroadcastId | nullyes
relayRelayName | nullyes
countrystring | nullyesThe country of the IP address it came from, as ISO 3166-1 alpha-2, or null when unknown. The address itself is never stored. Pattern ^[A-Z]{2}$.
asninteger | nullyesThe network provider (autonomous system number) the address belongs to.
networkstring | nullyesThe network provider's name.
levelErrorLevel | nullyesAn error event's level; null for a log upload.
componentDiagnosticComponent | nullyesAn error event's component; null for a log upload.
messagestring | nullyesAn error event's message, redacted; null for a log upload.
startupbooleanyesAn error event from a failed start.
reasonLogReason | nullyesA log upload's reason; null for an error event.
log_upload_idLogUploadId | nullyesThe log upload sent with this error event, or null.
redactionsintegeryesHow many secrets, emails or addresses the Backend replaced. Above 0 means the app let one through.
line_countintegeryesA log upload's lines; 0 for an error event.

AnyId

An ID of any registered type.

Type: string. Exactly 18 characters. Pattern ^(USR|ORG|MEM|CHN|BRD|SSN|DEV|PLN|KEY|WHK|EVT|ALR|RLY|RCT|REL|CRS|INV|EML|UPL|SEG|PRD|LDG|IVC|DLV|EVN|SGN|ERR|LOG|APS)[a-z0-9]{15}$. Example: ORG8hfaw8hfpwhjf94.

AppVersion

The app's version, as in X-Celerbeam-Client.

Type: string. Pattern ^[0-9A-Za-z][0-9A-Za-z.+-]{0,63}$. Example: 0.4.1.

DevicePlatform

The operating system family.

Type: string. One of linux, windows.

DeviceOs

The operating system and its version, as the app reports it.

Type: string. 1 to 100 characters. Examples: Ubuntu 24.04, Windows 11 23H2.

DeviceGpu

The GPU the app found, for support.

Type: string. 1 to 200 characters. Example: Intel Arc A770.

DiagnosticDecoder

The video decoder path the app is using, for support.

Type: string. 1 to 100 characters. Examples: d3d11va h264, vaapi hevc, software.

BroadcastId

Broadcast ID.

Type: string. Exactly 18 characters. Pattern ^BRD[a-z0-9]{15}$. Example: BRD8hfaw8hfpwhjf94.

RelayName

A relay, by its name, until relays have RLY IDs.

Type: string. Pattern ^[a-z0-9][a-z0-9-]{0,63}$. Example: gb-lon-1.

DiagnosticComponent

The part of the app it came from, as its logging category: lower case, digits and _.-.

Type: string. Pattern ^[a-z0-9][a-z0-9_.-]{0,63}$. Examples: media.decoder, api.session.

LogReason

Why the log was sent: error with an error event, crash with a crash report, requested by "Send logs".

Type: string. One of error, crash, requested.

LogUploadId

Log upload ID.

Type: string. Exactly 18 characters. Pattern ^LOG[a-z0-9]{15}$. Example: LOG8hfaw8hfpwhjf94.

Problem

An RFC 9457 problem details object, sent as application/problem+json.

FieldTypeRequiredDescription
typestring (uri-reference)yesA URI identifying the problem type. about:blank when code says enough. Example: about:blank.
titlestringyesA short, human-readable summary of the problem type. Example: Not found.
statusintegeryesThe HTTP status code. 400 to 599. Example: 404.
codestringyesA stable, snake_case machine code. Clients branch on this, never on title. Pattern ^[a-z][a-z0-9]*(_[a-z0-9]+)*$. Examples: not_found, invalid_id.
detailstringnoA human-readable explanation of this occurrence.
instancestring (uri-reference)noThe request path that produced the problem.
request_idstringyesLinks the problem to the request logs and any audit event.
started_byUplinkSessionStarternochannel_in_use only: who started the Channel's active Uplink session.
reasonstringnosession_ended only: idle (unused past its window) or signed_out (by another session, e.g. after a password change). One of idle, signed_out.
errorsarray of ProblemFieldErrornoOne entry per invalid field, for invalid_request and invalid_id.
retry_after_secondsintegernorate_limited only: how long to wait before trying again, in seconds. At least 0.

UplinkSessionStarter

Who pressed Start.

FieldTypeRequiredDescription
user_idUserIdyesUser ID.
namestringyesHow to show them. Their email, until Users have names. Example: mike@northgate.example.

ProblemFieldError

FieldTypeRequiredDescription
pointerstringnoA JSON Pointer into the request body, e.g. /first_admin_email.
parameterstringnoThe name of the path, query or header parameter, e.g. organisation_id.
detailstringyesWhat is wrong with the field.

DiagnosticsUpload

FieldTypeRequiredDescription
device_idDeviceIdyesThe install's Device ID. Before sign-in the app makes one itself, and registers it with register_device when someone signs in, which links its earlier records to them.
appDiagnosticAppyesThe app that sent it, and the machine it runs on.
contextDiagnosticContextnoWhere the app was when it happened, where known.
eventsarray of DiagnosticEventInputnoUp to 100 error events.
logDiagnosticLogInputnoThe recent log, with a failure or on request.
sessionDiagnosticSessionInputnoThe app session that started, sent once per run of the app.

DiagnosticApp

The app that sent it, and the machine it runs on.

FieldTypeRequiredDescription
versionAppVersionyesThe app's version, as in X-Celerbeam-Client.
platformDevicePlatformyesThe operating system family.
osDeviceOsyesThe operating system and its version, as the app reports it.
gpuDeviceGpunoThe GPU the app found, for support.
decoderDiagnosticDecodernoThe video decoder path the app is using, for support.

DiagnosticContext

Where the app was when it happened, where known.

FieldTypeRequiredDescription
broadcast_idBroadcastIdnoThe Broadcast it was watching or sending, if any.
relayRelayNamenoThe relay it was using.
organisation_idOrganisationIdnoThe Organisation selected in the app. Signed in only: the caller must be able to see it.

DiagnosticEventInput

One error or warning.

FieldTypeRequiredDescription
levelErrorLevelyesHow bad it was.
occurred_atTimestampyesWhen it happened, by the app's clock.
componentDiagnosticComponentyesThe part of the app it came from, as its logging category: lower case, digits and _.-.
messageDiagnosticMessageyesWhat happened, as the app logged it, already redacted by the app. The Backend redacts it again: tokens, keys, emails and IP addresses are replaced before it is stored.
codestringnoA stable code for the kind of failure, where the app has one. Pattern ^[A-Za-z0-9_.:-]{1,64}$.
startupbooleannoTrue when the app failed to start. Defaults to false.
detailsobjectnoUp to 20 more facts, as short strings, e.g. {"http_status": "503"}. A value whose key names a secret (token, key, password, …) is replaced before it is stored.

DiagnosticMessage

What happened, as the app logged it, already redacted by the app. The Backend redacts it again: tokens, keys, emails and IP addresses are replaced before it is stored.

Type: string. 1 to 2000 characters.

DiagnosticLogInput

The app's recent log. With error events in the same upload and reason error, it is linked to them.

FieldTypeRequiredDescription
reasonLogReasonyesWhy the log was sent: error with an error event, crash with a crash report, requested by "Send logs".
related_crash_report_idCrashReportIdnoThe crash report it goes with, for crash.
linesarray of LogLineyesThe app's recent log, oldest first: about its last 10 minutes, up to 10000 lines.

CrashReportId

Crash report ID.

Type: string. Exactly 18 characters. Pattern ^CRS[a-z0-9]{15}$. Example: CRS8hfaw8hfpwhjf94.

LogLine

One structured log line.

FieldTypeRequiredDescription
atTimestampyesWhen it was logged, by the app's clock.
levelLogLevelyesA log line's level.
componentDiagnosticComponentyesThe part of the app it came from, as its logging category: lower case, digits and _.-.
messageDiagnosticMessageyesWhat happened, as the app logged it, already redacted by the app. The Backend redacts it again: tokens, keys, emails and IP addresses are replaced before it is stored.

LogLevel

A log line's level.

Type: string. One of debug, info, warning, error.

DiagnosticSessionInput

This run of the app (an app session), sent once it is up, before or after sign-in. Release health counts them: crash-free sessions are the share that ended without a crash. A start that fails before the app is up is an error event with startup, not a session.

FieldTypeRequiredDescription
started_atTimestampyesWhen the app started, by the app's clock.

DiagnosticsReceipt

What was stored.

FieldTypeRequiredDescription
error_event_idsarray of ErrorEventIdyesThe error events stored, in the order sent.
log_upload_idLogUploadId | nullyesThe log upload stored, or null when none was sent.
app_session_idAppSessionId | nullyesThe app session stored, or null when none was sent.

ErrorEventId

Error event ID.

Type: string. Exactly 18 characters. Pattern ^ERR[a-z0-9]{15}$. Example: ERR8hfaw8hfpwhjf94.

AppSessionId

App session ID.

Type: string. Exactly 18 characters. Pattern ^APS[a-z0-9]{15}$. Example: APS8hfaw8hfpwhjf94.

CrashSignatureKey

A crash signature: 16 hex digits naming every crash with the same stack (the top frames of the crashing thread, by function where known).

Type: string. Pattern ^[0-9a-f]{16}$. Example: 3f9a1c0b7d2e4a65.

CrashReportPage

FieldTypeRequiredDescription
itemsarray of CrashReportSummaryyes
next_cursorstring | nullyesAn opaque cursor for the next page, or null on the last page.

CrashReportSummary

One crash report, without its stack.

FieldTypeRequiredDescription
idCrashReportIdyesCrash report ID.
received_atTimestampyesWhen the app asked to send it.
crashed_atTimestampyesWhen it crashed, by the app's clock.
processed_atTimestampyesWhen the Backend symbolised it.
device_idDeviceIdyesDevice ID.
user_idUserId | nullyesWho was signed in when it was sent, or null before sign-in. A Device's earlier crashes belong to the User who registered it.
user_emailstring | nullyesThe email of user_id, or of the Device's User for a crash sent before sign-in, as it is now.
organisation_idOrganisationId | nullyes
app_versionAppVersionyesThe app's version, as in X-Celerbeam-Client.
platformDevicePlatformyesThe operating system family.
osDeviceOsyesThe operating system and its version, as the app reports it.
gpuDeviceGpu | nullyes
decoderDiagnosticDecoder | nullyes
broadcast_idBroadcastId | nullyes
relayRelayName | nullyes
countrystring | nullyesThe country of the IP address it came from, or null when unknown. The address itself is never stored. Pattern ^[A-Z]{2}$.
asninteger | nullyes
networkstring | nullyes
statusCrashReportStatusyesHow readable the stack is: symbolised when the crashing thread's frames in Celerbeam's own code have function names; unsymbolised when there were no symbols for its build, so frames are module and offset; failed when the dump couldn't be read.
signatureCrashSignatureKeyyesA crash signature: 16 hex digits naming every crash with the same stack (the top frames of the crashing thread, by function where known).
titlestringyesThe signature as text: the top frames of the crashing thread, | between them, e.g. celerbeam::media::Decoder::decode | celerbeam::media::Viewer::run.
crash_reasonstring | nullyesWhy it crashed, as the operating system said, e.g. SIGSEGV /SEGV_MAPERR or EXCEPTION_ACCESS_VIOLATION_READ.
crash_addressstring | nullyesThe address it crashed at or on, 0x….
dump_bytesintegeryes

CrashReportStatus

How readable the stack is: symbolised when the crashing thread's frames in Celerbeam's own code have function names; unsymbolised when there were no symbols for its build, so frames are module and offset; failed when the dump couldn't be read.

Type: string. One of symbolised, unsymbolised, failed.

CrashReportRequest

A crash the app is about to send the minidump of.

FieldTypeRequiredDescription
device_idDeviceIdyesThe install's Device ID, as for submit_diagnostics.
appDiagnosticAppyesThe app that crashed: its version, and the machine it ran on.
contextDiagnosticContextnoWhere the app was when it crashed.
crashed_atTimestampyesWhen it crashed, by the app's clock (when Crashpad wrote the dump).
dump_bytesintegeryesThe minidump's size in bytes, at most 33554432. The upload must be exactly this long. 1 to 33554432. Example: 482304.

CrashReportTicket

The crash report made for the dump, and where to send it.

FieldTypeRequiredDescription
crash_report_idCrashReportIdyesCrash report ID.
uploadCrashDumpUploadyesWhere the minidump goes: straight to storage, not through the API.

CrashDumpUpload

Where the minidump goes: straight to storage, not through the API.

FieldTypeRequiredDescription
urlstringyesWhere to PUT the minidump, as is. It stops working at expires_at.
methodstringyes One of PUT.
headersobjectyesThe headers to send with it, exactly: the upload is refused without them.
expires_atTimestampyesUTC, with milliseconds and a Z suffix.

CrashReport

One crash report, with the crashing thread’s stack.

FieldTypeRequiredDescription
idCrashReportIdyesCrash report ID.
received_atTimestampyesWhen the app asked to send it.
crashed_atTimestampyesWhen it crashed, by the app's clock.
processed_atTimestampyesWhen the Backend symbolised it.
device_idDeviceIdyesDevice ID.
user_idUserId | nullyesWho was signed in when it was sent, or null before sign-in. A Device's earlier crashes belong to the User who registered it.
user_emailstring | nullyesThe email of user_id, or of the Device's User for a crash sent before sign-in, as it is now.
organisation_idOrganisationId | nullyes
app_versionAppVersionyesThe app's version, as in X-Celerbeam-Client.
platformDevicePlatformyesThe operating system family.
osDeviceOsyesThe operating system and its version, as the app reports it.
gpuDeviceGpu | nullyes
decoderDiagnosticDecoder | nullyes
broadcast_idBroadcastId | nullyes
relayRelayName | nullyes
countrystring | nullyesThe country of the IP address it came from, or null when unknown. The address itself is never stored. Pattern ^[A-Z]{2}$.
asninteger | nullyes
networkstring | nullyes
statusCrashReportStatusyesHow readable the stack is: symbolised when the crashing thread's frames in Celerbeam's own code have function names; unsymbolised when there were no symbols for its build, so frames are module and offset; failed when the dump couldn't be read.
signatureCrashSignatureKeyyesA crash signature: 16 hex digits naming every crash with the same stack (the top frames of the crashing thread, by function where known).
titlestringyesThe signature as text: the top frames of the crashing thread, | between them, e.g. celerbeam::media::Decoder::decode | celerbeam::media::Viewer::run.
crash_reasonstring | nullyesWhy it crashed, as the operating system said, e.g. SIGSEGV /SEGV_MAPERR or EXCEPTION_ACCESS_VIOLATION_READ.
crash_addressstring | nullyesThe address it crashed at or on, 0x….
dump_bytesintegeryes
crashing_threadinteger | nullyesThe index of the thread that crashed, among the dump’s threads.
framesarray of CrashFrameyesThe crashing thread, from the top: at most 64 frames.
modules_without_symbolsarray of stringyesCelerbeam's own modules in the stack that had no symbols: their build's symbols weren't uploaded.
errorstring | nullyesWhy a failed dump couldn't be read; null otherwise.
log_upload_idLogUploadId | nullyesThe log the app had when it crashed, sent with it, or null.
request_idstringyesThe request that asked to send it.

CrashFrame

One frame of the crashing thread.

FieldTypeRequiredDescription
indexintegeryesIts place in the stack, from 0 at the top.
modulestring | nullyesThe executable or library it is in, or null when none was found.
functionstring | nullyesThe function, from the symbols, or null when there were none.
filestring | nullyesThe source file, relative to the repository where it is ours.
lineinteger | nullyes
offsetstringyesWhere in the module (0x… from its start) or, with no module, the address itself.
truststringyesHow the stack walker found it: context for the top frame, then cfi, frame_pointer or scan. Frames found by scanning may be wrong.

CrashSignaturePage

FieldTypeRequiredDescription
itemsarray of CrashSignatureyes
next_cursorstring | nullyesAn opaque cursor for the next page, or null on the last page.

CrashSignature

Every crash with the same stack, counted.

FieldTypeRequiredDescription
signatureCrashSignatureKeyyesA crash signature: 16 hex digits naming every crash with the same stack (the top frames of the crashing thread, by function where known).
titlestringyesThe signature as text.
statusCrashReportStatusyesIts latest crash’s.
crash_reasonstring | nullyesIts latest crash’s.
crashesintegeryesHow many crashes have it.
devicesintegeryesHow many installs it crashed.
usersintegeryesHow many signed-in Users it crashed for. Crashes sent before sign-in count only under devices.
first_seenTimestampyesWhen its first crash was received.
last_seenTimestampyesWhen its latest crash was received.
app_versionsarray of AppVersionyesThe versions of the app it crashed, newest first by when they last crashed.
platformsarray of DevicePlatformyes
latest_crash_report_idCrashReportIdyesCrash report ID.

DiagnosticRecord

One diagnostics record, with its details and log lines.

FieldTypeRequiredDescription
idAnyIdyesAn error event (ERR) or log upload (LOG) ID.
kindDiagnosticKindyesAn error event (ERR) or a log upload (LOG).
received_atTimestampyesWhen the Backend stored it.
occurred_atTimestampyesWhen it happened (a log: when it was sent), by the app's clock.
device_idDeviceIdyesDevice ID.
user_idUserId | nullyesWho was signed in, or null before sign-in. A Device's earlier records belong to the User who registered it.
user_emailstring | nullyesThe email of user_id, or of the Device's User for a record from before sign-in, as it is now. null when neither is known.
organisation_idOrganisationId | nullyesThe Organisation selected in the app, or null.
app_versionAppVersionyesThe app's version, as in X-Celerbeam-Client.
platformDevicePlatformyesThe operating system family.
osDeviceOsyesThe operating system and its version, as the app reports it.
gpuDeviceGpu | nullyes
decoderDiagnosticDecoder | nullyes
broadcast_idBroadcastId | nullyes
relayRelayName | nullyes
countrystring | nullyesThe country of the IP address it came from, as ISO 3166-1 alpha-2, or null when unknown. The address itself is never stored. Pattern ^[A-Z]{2}$.
asninteger | nullyesThe network provider (autonomous system number) the address belongs to.
networkstring | nullyesThe network provider's name.
levelErrorLevel | nullyesAn error event's level; null for a log upload.
componentDiagnosticComponent | nullyesAn error event's component; null for a log upload.
messagestring | nullyesAn error event's message, redacted; null for a log upload.
startupbooleanyesAn error event from a failed start.
reasonLogReason | nullyesA log upload's reason; null for an error event.
log_upload_idLogUploadId | nullyesThe log upload sent with this error event, or null.
redactionsintegeryesHow many secrets, emails or addresses the Backend replaced. Above 0 means the app let one through.
codestring | nullyes
detailsobject | nullyesAn error event's details, redacted; null when none.
error_event_idsarray of ErrorEventIdyesFor a log upload: the error events sent with it.
related_crash_report_idCrashReportId | nullyes
linesarray of LogLineyesA log upload's lines, redacted, oldest first; empty for an error event.
truncatedbooleanyesA log upload's oldest lines were dropped to fit what one record may hold.
request_idstringyesThe upload request, for the API logs.