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_diagnosticsread-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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cursor | query | string | no | The next_cursor from the previous page. Omit it for the first page. At least 1 character. |
limit | query | integer | no | The most items to return. 1 to 100. Default 50. |
kind | query | DiagnosticKind | no | Only records of this kind. |
device_id | query | DeviceId | no | Only this install's records. |
user_id | query | UserId | no | Only this User's records: those sent while they were signed in, and those sent before sign-in from a Device they registered. |
organisation_id | query | OrganisationId | no | Only records sent with this Organisation selected. |
level | query | ErrorLevel | no | Only error events of this level. |
from | query | Timestamp | no | Only records received at or after this time. |
to | query | Timestamp | no | Only records received before this time. |
Responses
| Status | Description | Body |
|---|---|---|
200 | One page of records. | DiagnosticRecordPage |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
503 | Unavailable | Problem |
Send diagnostics
POST /v1/diagnostics
- MCP tool
submit_diagnosticsnot 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
| Status | Description | Body |
|---|---|---|
202 | What was stored. | DiagnosticsReceipt |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
404 | The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart. | Problem |
413 | PayloadTooLarge | Problem |
429 | TooManyRequests | Problem |
503 | Unavailable | Problem |
List crash reports
GET /v1/diagnostics/crash-reports
- MCP tool
list_crash_reportsread-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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cursor | query | string | no | The next_cursor from the previous page. Omit it for the first page. At least 1 character. |
limit | query | integer | no | The most items to return. 1 to 100. Default 50. |
signature | query | CrashSignatureKey | no | Only crashes with this signature. |
device_id | query | DeviceId | no | Only this install's. |
user_id | query | UserId | no | Only this User's: those sent while they were signed in, and those sent before sign-in from a Device they registered. |
organisation_id | query | OrganisationId | no | Only those sent with this Organisation selected. |
app_version | query | AppVersion | no | Only crashes of this version of the app. |
platform | query | DevicePlatform | no | Only this platform. |
from | query | Timestamp | no | Only those received at or after this time. |
to | query | Timestamp | no | Only those received before this time. |
Responses
| Status | Description | Body |
|---|---|---|
200 | One page of crash reports. | CrashReportPage |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
503 | Unavailable | Problem |
Send a crash report
POST /v1/diagnostics/crash-reports
- MCP tool
create_crash_reportnot 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
| Status | Description | Body |
|---|---|---|
201 | The crash report, and where to send its dump. | CrashReportTicket |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
404 | The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart. | Problem |
429 | TooManyRequests | Problem |
503 | Unavailable | Problem |
Get a crash report
GET /v1/diagnostics/crash-reports/{crash_report_id}
- MCP tool
get_crash_reportread-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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
crash_report_id | path | CrashReportId | yes | Crash report ID. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The crash report. | CrashReport |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
404 | The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart. | Problem |
503 | Unavailable | Problem |
List crash signatures
GET /v1/diagnostics/crash-signatures
- MCP tool
list_crash_signaturesread-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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cursor | query | string | no | The next_cursor from the previous page. Omit it for the first page. At least 1 character. |
limit | query | integer | no | The most items to return. 1 to 100. Default 50. |
app_version | query | AppVersion | no | Count only crashes of this version of the app. |
platform | query | DevicePlatform | no | Count only crashes on this platform. |
from | query | Timestamp | no | Count only crashes received at or after this time. |
to | query | Timestamp | no | Count only crashes received before this time. |
Responses
| Status | Description | Body |
|---|---|---|
200 | One page of crash signatures. | CrashSignaturePage |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
503 | Unavailable | Problem |
Get an error event
GET /v1/diagnostics/errors/{error_event_id}
- MCP tool
get_error_eventread-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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
error_event_id | path | ErrorEventId | yes | Error event ID. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The error event. | DiagnosticRecord |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
404 | The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart. | Problem |
503 | Unavailable | Problem |
Get a log upload
GET /v1/diagnostics/logs/{log_upload_id}
- MCP tool
get_log_uploadread-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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
log_upload_id | path | LogUploadId | yes | Log upload ID. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The log upload. | DiagnosticRecord |
400 | The 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 |
401 | No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750. | Problem |
403 | The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied. | Problem |
404 | The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart. | Problem |
503 | Unavailable | Problem |
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
| Field | Type | Required | Description |
|---|---|---|---|
items | array of DiagnosticRecordSummary | yes | |
next_cursor | string | null | yes | An 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.
| Field | Type | Required | Description |
|---|---|---|---|
items | array of any | yes | |
next_cursor | string | null | yes | An opaque cursor for the next page, or null on the last page. |
DiagnosticRecordSummary
One diagnostics record, without its details or log lines.
| Field | Type | Required | Description |
|---|---|---|---|
id | AnyId | yes | An error event (ERR) or log upload (LOG) ID. |
kind | DiagnosticKind | yes | An error event (ERR) or a log upload (LOG). |
received_at | Timestamp | yes | When the Backend stored it. |
occurred_at | Timestamp | yes | When it happened (a log: when it was sent), by the app's clock. |
device_id | DeviceId | yes | Device ID. |
user_id | UserId | null | yes | Who was signed in, or null before sign-in. A Device's earlier records belong to the User who registered it. |
user_email | string | null | yes | The 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_id | OrganisationId | null | yes | The Organisation selected in the app, or null. |
app_version | AppVersion | yes | The app's version, as in X-Celerbeam-Client. |
platform | DevicePlatform | yes | The operating system family. |
os | DeviceOs | yes | The operating system and its version, as the app reports it. |
gpu | DeviceGpu | null | yes | |
decoder | DiagnosticDecoder | null | yes | |
broadcast_id | BroadcastId | null | yes | |
relay | RelayName | null | yes | |
country | string | null | yes | The 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}$. |
asn | integer | null | yes | The network provider (autonomous system number) the address belongs to. |
network | string | null | yes | The network provider's name. |
level | ErrorLevel | null | yes | An error event's level; null for a log upload. |
component | DiagnosticComponent | null | yes | An error event's component; null for a log upload. |
message | string | null | yes | An error event's message, redacted; null for a log upload. |
startup | boolean | yes | An error event from a failed start. |
reason | LogReason | null | yes | A log upload's reason; null for an error event. |
log_upload_id | LogUploadId | null | yes | The log upload sent with this error event, or null. |
redactions | integer | yes | How many secrets, emails or addresses the Backend replaced. Above 0 means the app let one through. |
line_count | integer | yes | A 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.
| Field | Type | Required | Description |
|---|---|---|---|
type | string (uri-reference) | yes | A URI identifying the problem type. about:blank when code says enough. Example: about:blank. |
title | string | yes | A short, human-readable summary of the problem type. Example: Not found. |
status | integer | yes | The HTTP status code. 400 to 599. Example: 404. |
code | string | yes | A 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. |
detail | string | no | A human-readable explanation of this occurrence. |
instance | string (uri-reference) | no | The request path that produced the problem. |
request_id | string | yes | Links the problem to the request logs and any audit event. |
started_by | UplinkSessionStarter | no | channel_in_use only: who started the Channel's active Uplink session. |
reason | string | no | session_ended only: idle (unused past its window) or signed_out (by another session, e.g. after a password change). One of idle, signed_out. |
errors | array of ProblemFieldError | no | One entry per invalid field, for invalid_request and invalid_id. |
retry_after_seconds | integer | no | rate_limited only: how long to wait before trying again, in seconds. At least 0. |
UplinkSessionStarter
Who pressed Start.
| Field | Type | Required | Description |
|---|---|---|---|
user_id | UserId | yes | User ID. |
name | string | yes | How to show them. Their email, until Users have names. Example: mike@northgate.example. |
ProblemFieldError
| Field | Type | Required | Description |
|---|---|---|---|
pointer | string | no | A JSON Pointer into the request body, e.g. /first_admin_email. |
parameter | string | no | The name of the path, query or header parameter, e.g. organisation_id. |
detail | string | yes | What is wrong with the field. |
DiagnosticsUpload
| Field | Type | Required | Description |
|---|---|---|---|
device_id | DeviceId | yes | The 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. |
app | DiagnosticApp | yes | The app that sent it, and the machine it runs on. |
context | DiagnosticContext | no | Where the app was when it happened, where known. |
events | array of DiagnosticEventInput | no | Up to 100 error events. |
log | DiagnosticLogInput | no | The recent log, with a failure or on request. |
session | DiagnosticSessionInput | no | The app session that started, sent once per run of the app. |
DiagnosticApp
The app that sent it, and the machine it runs on.
| Field | Type | Required | Description |
|---|---|---|---|
version | AppVersion | yes | The app's version, as in X-Celerbeam-Client. |
platform | DevicePlatform | yes | The operating system family. |
os | DeviceOs | yes | The operating system and its version, as the app reports it. |
gpu | DeviceGpu | no | The GPU the app found, for support. |
decoder | DiagnosticDecoder | no | The video decoder path the app is using, for support. |
DiagnosticContext
Where the app was when it happened, where known.
| Field | Type | Required | Description |
|---|---|---|---|
broadcast_id | BroadcastId | no | The Broadcast it was watching or sending, if any. |
relay | RelayName | no | The relay it was using. |
organisation_id | OrganisationId | no | The Organisation selected in the app. Signed in only: the caller must be able to see it. |
DiagnosticEventInput
One error or warning.
| Field | Type | Required | Description |
|---|---|---|---|
level | ErrorLevel | yes | How bad it was. |
occurred_at | Timestamp | yes | When it happened, by the app's clock. |
component | DiagnosticComponent | yes | The part of the app it came from, as its logging category: lower case, digits and _.-. |
message | DiagnosticMessage | yes | 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. |
code | string | no | A stable code for the kind of failure, where the app has one. Pattern ^[A-Za-z0-9_.:-]{1,64}$. |
startup | boolean | no | True when the app failed to start. Defaults to false. |
details | object | no | Up 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.
| Field | Type | Required | Description |
|---|---|---|---|
reason | LogReason | yes | Why the log was sent: error with an error event, crash with a crash report, requested by "Send logs". |
related_crash_report_id | CrashReportId | no | The crash report it goes with, for crash. |
lines | array of LogLine | yes | The 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.
| Field | Type | Required | Description |
|---|---|---|---|
at | Timestamp | yes | When it was logged, by the app's clock. |
level | LogLevel | yes | A log line's level. |
component | DiagnosticComponent | yes | The part of the app it came from, as its logging category: lower case, digits and _.-. |
message | DiagnosticMessage | yes | 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. |
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.
| Field | Type | Required | Description |
|---|---|---|---|
started_at | Timestamp | yes | When the app started, by the app's clock. |
DiagnosticsReceipt
What was stored.
| Field | Type | Required | Description |
|---|---|---|---|
error_event_ids | array of ErrorEventId | yes | The error events stored, in the order sent. |
log_upload_id | LogUploadId | null | yes | The log upload stored, or null when none was sent. |
app_session_id | AppSessionId | null | yes | The 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
| Field | Type | Required | Description |
|---|---|---|---|
items | array of CrashReportSummary | yes | |
next_cursor | string | null | yes | An opaque cursor for the next page, or null on the last page. |
CrashReportSummary
One crash report, without its stack.
| Field | Type | Required | Description |
|---|---|---|---|
id | CrashReportId | yes | Crash report ID. |
received_at | Timestamp | yes | When the app asked to send it. |
crashed_at | Timestamp | yes | When it crashed, by the app's clock. |
processed_at | Timestamp | yes | When the Backend symbolised it. |
device_id | DeviceId | yes | Device ID. |
user_id | UserId | null | yes | Who 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_email | string | null | yes | The email of user_id, or of the Device's User for a crash sent before sign-in, as it is now. |
organisation_id | OrganisationId | null | yes | |
app_version | AppVersion | yes | The app's version, as in X-Celerbeam-Client. |
platform | DevicePlatform | yes | The operating system family. |
os | DeviceOs | yes | The operating system and its version, as the app reports it. |
gpu | DeviceGpu | null | yes | |
decoder | DiagnosticDecoder | null | yes | |
broadcast_id | BroadcastId | null | yes | |
relay | RelayName | null | yes | |
country | string | null | yes | The country of the IP address it came from, or null when unknown. The address itself is never stored. Pattern ^[A-Z]{2}$. |
asn | integer | null | yes | |
network | string | null | yes | |
status | CrashReportStatus | yes | 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. |
signature | CrashSignatureKey | yes | A crash signature: 16 hex digits naming every crash with the same stack (the top frames of the crashing thread, by function where known). |
title | string | yes | The signature as text: the top frames of the crashing thread, | between them, e.g. celerbeam::media::Decoder::decode | celerbeam::media::Viewer::run. |
crash_reason | string | null | yes | Why it crashed, as the operating system said, e.g. SIGSEGV /SEGV_MAPERR or EXCEPTION_ACCESS_VIOLATION_READ. |
crash_address | string | null | yes | The address it crashed at or on, 0x…. |
dump_bytes | integer | yes |
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.
| Field | Type | Required | Description |
|---|---|---|---|
device_id | DeviceId | yes | The install's Device ID, as for submit_diagnostics. |
app | DiagnosticApp | yes | The app that crashed: its version, and the machine it ran on. |
context | DiagnosticContext | no | Where the app was when it crashed. |
crashed_at | Timestamp | yes | When it crashed, by the app's clock (when Crashpad wrote the dump). |
dump_bytes | integer | yes | The 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.
| Field | Type | Required | Description |
|---|---|---|---|
crash_report_id | CrashReportId | yes | Crash report ID. |
upload | CrashDumpUpload | yes | Where the minidump goes: straight to storage, not through the API. |
CrashDumpUpload
Where the minidump goes: straight to storage, not through the API.
| Field | Type | Required | Description |
|---|---|---|---|
url | string | yes | Where to PUT the minidump, as is. It stops working at expires_at. |
method | string | yes | One of PUT. |
headers | object | yes | The headers to send with it, exactly: the upload is refused without them. |
expires_at | Timestamp | yes | UTC, with milliseconds and a Z suffix. |
CrashReport
One crash report, with the crashing thread’s stack.
| Field | Type | Required | Description |
|---|---|---|---|
id | CrashReportId | yes | Crash report ID. |
received_at | Timestamp | yes | When the app asked to send it. |
crashed_at | Timestamp | yes | When it crashed, by the app's clock. |
processed_at | Timestamp | yes | When the Backend symbolised it. |
device_id | DeviceId | yes | Device ID. |
user_id | UserId | null | yes | Who 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_email | string | null | yes | The email of user_id, or of the Device's User for a crash sent before sign-in, as it is now. |
organisation_id | OrganisationId | null | yes | |
app_version | AppVersion | yes | The app's version, as in X-Celerbeam-Client. |
platform | DevicePlatform | yes | The operating system family. |
os | DeviceOs | yes | The operating system and its version, as the app reports it. |
gpu | DeviceGpu | null | yes | |
decoder | DiagnosticDecoder | null | yes | |
broadcast_id | BroadcastId | null | yes | |
relay | RelayName | null | yes | |
country | string | null | yes | The country of the IP address it came from, or null when unknown. The address itself is never stored. Pattern ^[A-Z]{2}$. |
asn | integer | null | yes | |
network | string | null | yes | |
status | CrashReportStatus | yes | 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. |
signature | CrashSignatureKey | yes | A crash signature: 16 hex digits naming every crash with the same stack (the top frames of the crashing thread, by function where known). |
title | string | yes | The signature as text: the top frames of the crashing thread, | between them, e.g. celerbeam::media::Decoder::decode | celerbeam::media::Viewer::run. |
crash_reason | string | null | yes | Why it crashed, as the operating system said, e.g. SIGSEGV /SEGV_MAPERR or EXCEPTION_ACCESS_VIOLATION_READ. |
crash_address | string | null | yes | The address it crashed at or on, 0x…. |
dump_bytes | integer | yes | |
crashing_thread | integer | null | yes | The index of the thread that crashed, among the dump’s threads. |
frames | array of CrashFrame | yes | The crashing thread, from the top: at most 64 frames. |
modules_without_symbols | array of string | yes | Celerbeam's own modules in the stack that had no symbols: their build's symbols weren't uploaded. |
error | string | null | yes | Why a failed dump couldn't be read; null otherwise. |
log_upload_id | LogUploadId | null | yes | The log the app had when it crashed, sent with it, or null. |
request_id | string | yes | The request that asked to send it. |
CrashFrame
One frame of the crashing thread.
| Field | Type | Required | Description |
|---|---|---|---|
index | integer | yes | Its place in the stack, from 0 at the top. |
module | string | null | yes | The executable or library it is in, or null when none was found. |
function | string | null | yes | The function, from the symbols, or null when there were none. |
file | string | null | yes | The source file, relative to the repository where it is ours. |
line | integer | null | yes | |
offset | string | yes | Where in the module (0x… from its start) or, with no module, the address itself. |
trust | string | yes | How the stack walker found it: context for the top frame, then cfi, frame_pointer or scan. Frames found by scanning may be wrong. |
CrashSignaturePage
| Field | Type | Required | Description |
|---|---|---|---|
items | array of CrashSignature | yes | |
next_cursor | string | null | yes | An opaque cursor for the next page, or null on the last page. |
CrashSignature
Every crash with the same stack, counted.
| Field | Type | Required | Description |
|---|---|---|---|
signature | CrashSignatureKey | yes | A crash signature: 16 hex digits naming every crash with the same stack (the top frames of the crashing thread, by function where known). |
title | string | yes | The signature as text. |
status | CrashReportStatus | yes | Its latest crash’s. |
crash_reason | string | null | yes | Its latest crash’s. |
crashes | integer | yes | How many crashes have it. |
devices | integer | yes | How many installs it crashed. |
users | integer | yes | How many signed-in Users it crashed for. Crashes sent before sign-in count only under devices. |
first_seen | Timestamp | yes | When its first crash was received. |
last_seen | Timestamp | yes | When its latest crash was received. |
app_versions | array of AppVersion | yes | The versions of the app it crashed, newest first by when they last crashed. |
platforms | array of DevicePlatform | yes | |
latest_crash_report_id | CrashReportId | yes | Crash report ID. |
DiagnosticRecord
One diagnostics record, with its details and log lines.
| Field | Type | Required | Description |
|---|---|---|---|
id | AnyId | yes | An error event (ERR) or log upload (LOG) ID. |
kind | DiagnosticKind | yes | An error event (ERR) or a log upload (LOG). |
received_at | Timestamp | yes | When the Backend stored it. |
occurred_at | Timestamp | yes | When it happened (a log: when it was sent), by the app's clock. |
device_id | DeviceId | yes | Device ID. |
user_id | UserId | null | yes | Who was signed in, or null before sign-in. A Device's earlier records belong to the User who registered it. |
user_email | string | null | yes | The 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_id | OrganisationId | null | yes | The Organisation selected in the app, or null. |
app_version | AppVersion | yes | The app's version, as in X-Celerbeam-Client. |
platform | DevicePlatform | yes | The operating system family. |
os | DeviceOs | yes | The operating system and its version, as the app reports it. |
gpu | DeviceGpu | null | yes | |
decoder | DiagnosticDecoder | null | yes | |
broadcast_id | BroadcastId | null | yes | |
relay | RelayName | null | yes | |
country | string | null | yes | The 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}$. |
asn | integer | null | yes | The network provider (autonomous system number) the address belongs to. |
network | string | null | yes | The network provider's name. |
level | ErrorLevel | null | yes | An error event's level; null for a log upload. |
component | DiagnosticComponent | null | yes | An error event's component; null for a log upload. |
message | string | null | yes | An error event's message, redacted; null for a log upload. |
startup | boolean | yes | An error event from a failed start. |
reason | LogReason | null | yes | A log upload's reason; null for an error event. |
log_upload_id | LogUploadId | null | yes | The log upload sent with this error event, or null. |
redactions | integer | yes | How many secrets, emails or addresses the Backend replaced. Above 0 means the app let one through. |
code | string | null | yes | |
details | object | null | yes | An error event's details, redacted; null when none. |
error_event_ids | array of ErrorEventId | yes | For a log upload: the error events sent with it. |
related_crash_report_id | CrashReportId | null | yes | |
lines | array of LogLine | yes | A log upload's lines, redacted, oldest first; empty for an error event. |
truncated | boolean | yes | A log upload's oldest lines were dropped to fit what one record may hold. |
request_id | string | yes | The upload request, for the API logs. |