---
# @generated by sylphx-gen 0.1.0 from contracts@e145cc7cf1bc9605f2b27439e5e17ed76a1a2fd7e7021906a013f7565e4a0cd5. Do not edit.
title: "Get an error event"
description: "`observability.error_events.get` (GET /v1/{name}): Gets an error event."
type: reference
product: monitoring
summary: "Gets an error event."
updated: 2026-09-28
nav: false
---

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](/docs/api/error_events)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | The name of the error event to get. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | `orgs/{org}/projects/{project}/envs/{env}/error_groups/{error_group}/error_events/{error_event}`. |
| `uid` | `string` | `err_<cell><ulid>`; never reused. Output only. |
| `meta` | `ResourceMeta` | Resource metadata. |
| `event_time` | `timestamp` | When it happened. Required. |
| `exception_type` | `string` | The exception type. Required. |
| `message` | `string` | The exception message. |
| `stack_frames` | `StackFrame[]` | Stack frames, innermost last. |
| `service_name` | `string` | The emitting service. |
| `release` | `string` | The release the emitter ran. |
| `breadcrumbs` | `Breadcrumb[]` | Breadcrumbs before the error, oldest first, at most 100. |
| `tags` | `map<string, string>` | Typed tags, at most 64. |
| `fingerprint` | `string` | Override the grouping fingerprint. |
| `trace_id` | `string` | W3C trace id (32 hex). |
| `span_id` | `string` | W3C span id (16 hex). |
| `stack` | `string` | The 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

| Field | Type | What it is |
| --- | --- | --- |
| `generation` | `int64` | Increases by one on every change to `spec`. Output only. |
| `etag` | `string` | Strong 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_time` | `timestamp` | When the Resource was created. Output only. |
| `update_time` | `timestamp` | When the Resource last changed. Output only. |
| `delete_time` | `timestamp` | Set while the Resource is being deleted. Output only. |
| `labels` | `map<string, string>` | Caller-writable, indexed labels (AIP-122 label rules). |
| `annotations` | `map<string, string>` | Caller-writable, unindexed annotations. |
| `display_name` | `string` | Caller-writable human-readable name. |
| `creator` | `string` | The principal that created the Resource. Output only. |

### StackFrame

| Field | Type | What it is |
| --- | --- | --- |
| `function_name` | `string` | The function. |
| `file_path` | `string` | The file or module. |
| `line` | `int32` | The line, from 1. |
| `column` | `int32` | The column, from 1. |
| `app_frame` | `bool` | Whether the frame is the customer's own code. |

### Breadcrumb

| Field | Type | What it is |
| --- | --- | --- |
| `event_time` | `timestamp` | When it happened. Required. |
| `category` | `string` | A category, for example `http` or `navigation`. |
| `message` | `string` | The message. |
| `severity` | `LogSeverity` | The severity. One of `trace`, `debug`, `info`, `warn`, `error`, `fatal`. |

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
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"
```

**TypeScript**

```ts
const response = await sylphx.observability.errorEvents.get({ name: 'orgs/acme/projects/shop/envs/production/error_groups/error-group/error_events/error-event' })
```

**Rust**

```rust
let mut req = sylphx::observability::GetErrorEventRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/error_groups/error-group/error_events/error-event".to_string();
let response = sx.observability().error_events().get(req).await?;
```

**CLI**

```bash
sylphx observability error-events get orgs/acme/projects/shop/envs/production/error_groups/error-group/error_events/error-event
```

**MCP**

```json
{ "method_id": "observability.error_events.get", "args": {"name":"orgs/acme/projects/shop/envs/production/error_groups/error-group/error_events/error-event"} }
```
