Wide events
A scrubbed causal record for one unit of work.
A scrubbed causal record for one unit of work. The (trace_id, span_id) pair identifies the work; an identical re-delivery inserts nothing.
Service Sylphx Observability · Resource type observability.sylphx.com/WideEvent · Name pattern orgs/{org}/projects/{project}/envs/{env}/wide_events/{wide_event} · Shape record
Fields
| Field | Type | What it is |
|---|---|---|
name | string | Resource name, assigned by Observe. |
uid | string | Stable TypeID. Output only. |
meta | ResourceMeta | Resource metadata. Output only. |
schema | string | Exactly sylphx.wide_event.v1. Required. |
ts_utc | timestamp | Time the unit of work completed. Required. |
trace_id | string | Nonzero lowercase W3C hex identifiers. The parent is empty for a root. Required. |
span_id | string | W3C identifier of this span, or this downstream leg. Required. |
parent_span_id | string | Parent W3C span; empty at the root. |
request_id | string | The opaque request correlation ID. Required. |
service | string | Emitting service. Required. |
env_id | string | Tenant IDs come from the verified grant; supplied values must agree. |
release_sha | string | Full hexadecimal Git revision of the emitting release. Required. |
org_id | string | Organization whose verified grant owns the evidence. |
project_id | string | Project whose verified grant owns the evidence. |
actor_id | string | Opaque actor ID; never contact data or credentials. |
weight | float | Inverse probability of inclusion; one for unsampled or forced-kept rows. Required. |
host | string | Effective hostname without scheme, path, userinfo, or port. |
http_method | string | HTTP method, when this work serves a request. |
route_template | string | Matched router template, never a concrete URL or its query. |
status_code | int32 | HTTP response status for the unit of work. |
error_code | string | Machine-readable failure class. |
error_reason | string | Bounded, scrubbed diagnostic context for the failure. |
latency_ms | double | Elapsed work or leg time in milliseconds. |
upstream_status | int32 | HTTP status from the upstream dependency, if available. |
pool_wait_ms | double | Time waiting for pooled capacity in milliseconds. |
downstream_legs | WideEventLeg[] | Bounded list of observed downstream calls. |
ai_provider | string | AI provider used by the request. |
ai_model | string | Model the provider served. |
ttft_ms | double | Time to first token in milliseconds. |
tokens_in | uint64 | Input token count. |
tokens_out | uint64 | Output token count. |
stream_stall_ms | double | Observed stream stall duration in milliseconds. |
tool_fail_code | string | Machine-readable AI tool failure code. |
fallback_triggered | bool | Whether a fallback execution path ran. |
locale | string | Locale selected for the interaction. |
cwv_lcp_ms | double | Largest Contentful Paint in milliseconds. |
cwv_cls | double | Unitless cumulative layout shift. |
cwv_inp_ms | double | Interaction to Next Paint in milliseconds. |
hydration_drift | bool | Whether the server and browser hydration diverged. |
app_slug | string | Application slug used to join commercial or UX evidence. |
money_intent_id | string | Opaque Money intent identifier. |
checkout_session_id | string | Opaque checkout session identifier. |
amount_minor | int64 | Monetary amount in the currency's minor unit. |
currency | string | Three-letter ISO 4217 currency code. |
experiment_id | string | Opaque experiment identifier. |
attribution_id | string | Opaque attribution join ID, not raw click or customer data. |
metered_cash_burn_usd | double | Measured cash burn in US dollars. |
prepaid_pool_headroom | double | Remaining prepaid capacity in the source meter's units. |
vendor_wallet_usd | double | Observed vendor wallet balance in US dollars. |
root_cause_span_id | string | W3C span identified by causal analysis. |
top_divergent_dims | WideEventDimension[] | Bounded ranked dimension evidence reported with this event. |
actuator_action | string | Action taken for the anomaly, when applicable. |
flight_recorder_tail | WideEventLeg[] | Bounded causal prefix accompanying a failed unit of work. |
Methods
Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.
| Method | Call | What it does |
|---|---|---|
POST | write | Atomically admits a batch of scrubbed wide events. An existing causal identity with a different payload is a conflict, not a second event. |
POST | query | Reads an environment's scrubbed wide events over a bounded time range. |
write
Atomically admits a batch of scrubbed wide events. An existing causal identity with a different payload is a conflict, not a second event.
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/wide_events:write · scope observability:ingest · effect write · Request, response and examples
query
Reads an environment's scrubbed wide events over a bounded time range.
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/wide_events:query · scope observability:read · effect read · Request, response and examples