Skip to content
Console
On this page

Get an error event

Gets an error event.

Gets an error event.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/error_groups/error-group/error_events/error-event
  • Scope observability:read
  • Effect read — nothing is written.
  • Collection error_events

Request

FieldTypeWhat it is
namestringThe name of the error event to get. Required.

Response

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/error_groups/{error_group}/error_events/{error_event}.
uidstringerr_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
event_timetimestampWhen it happened. Required.
exception_typestringThe exception type. Required.
messagestringThe exception message.
stack_framesStackFrame[]Stack frames, innermost last.
service_namestringThe emitting service.
releasestringThe release the emitter ran.
breadcrumbsBreadcrumb[]Breadcrumbs before the error, oldest first, at most 100.
tagsmap<string, string>Typed tags, at most 64.
fingerprintstringOverride the grouping fingerprint.
trace_idstringW3C trace id (32 hex).
span_idstringW3C span id (16 hex).
stackstringThe stack as the runtime printed it (JavaScript Error.stack), at most 64 KiB. When stack_frames is empty, V8 (at fn (file:line:col)) and Gecko/WebKit (fn@file:line:col) lines are parsed into stack_frames, innermost last; when stack_frames is set, it wins and stack is kept as sent. Either way the frames are then mapped through the source maps uploaded for release before grouping. Scrubbed before storage.

ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

StackFrame

FieldTypeWhat it is
function_namestringThe function.
file_pathstringThe file or module.
lineint32The line, from 1.
columnint32The column, from 1.
app_frameboolWhether the frame is the customer's own code.
FieldTypeWhat it is
event_timetimestampWhen it happened. Required.
categorystringA category, for example http or navigation.
messagestringThe message.
severityLogSeverityThe severity. One of trace, debug, info, warn, error, fatal.

Errors

Every error arrives in the body Errors describes.

Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/error_groups/error-group/error_events/error-event" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"