Observability
ObservabilityTelemetry
List keys
Run a query
List values
ModelsExpand Collapse
class TelemetryQueryResponse: …
run: RunA Workers Observability Query Object
A Workers Observability Query Object
query: RunQuery
parameters: RunQueryParameters
calculations: Optional[List[RunQueryParametersCalculation]]Create Calculations to compute as part of the query.
Create Calculations to compute as part of the query.
filter_combination: Optional[Literal["and", "or", "AND", "OR"]]Set a Flag to describe how to combine the filters on the query.
Set a Flag to describe how to combine the filters on the query.
filters: Optional[List[RunQueryParametersFilter]]Configure the Filters to apply to the query. Supports nested groups via kind: 'group'.
Configure the Filters to apply to the query. Supports nested groups via kind: 'group'.
class RunQueryParametersFilterWorkersObservabilityFilterLeaf: …Filtering best practices: use observability_keys and observability_values to confirm available fields and values. If searching for errors, filter for $metadata.error exists.
Filtering best practices: use observability_keys and observability_values to confirm available fields and values. If searching for errors, filter for $metadata.error exists.
Filter field name. IMPORTANT: do not guess keys. Always use verified keys from previous query results or the observability_keys response. Preferred keys: $metadata.service, $metadata.origin, $metadata.trigger, $metadata.message, $metadata.error.
value: Optional[Union[str, float, bool, null]]Filter comparison value. IMPORTANT: must match actual values in your logs. Verify using previous query results or the /values endpoint. Ensure value type matches the field type. String comparisons are case-sensitive unless using specific operations. Regex uses ClickHouse RE2 syntax (no lookaheads/lookbehinds); examples: ^5\d{2}$ for HTTP 5xx, \bERROR\b for word boundary.
Filter comparison value. IMPORTANT: must match actual values in your logs. Verify using previous query results or the /values endpoint. Ensure value type matches the field type. String comparisons are case-sensitive unless using specific operations. Regex uses ClickHouse RE2 syntax (no lookaheads/lookbehinds); examples: ^5\d{2}$ for HTTP 5xx, \bERROR\b for word boundary.
havings: Optional[List[RunQueryParametersHaving]]Configure the Having clauses that filter on calculations in the query result.
Configure the Having clauses that filter on calculations in the query result.
Set a limit on the number of results / records returned by the query
statistics: StatisticsThe statistics object contains information about query performance from the database, it does not include any network latency
The statistics object contains information about query performance from the database, it does not include any network latency
calculations: Optional[List[Calculation]]
events: Optional[Events]
events: Optional[List[EventsEvent]]
Cloudflare Containers event information enriches your logs so you can easily identify and debug issues.
workers: Optional[EventsEventWorkers]Cloudflare Workers event information enriches your logs so you can easily identify and debug issues.
Cloudflare Workers event information enriches your logs so you can easily identify and debug issues.
class EventsEventWorkersUnionMember0: …
class EventsEventWorkersUnionMember1: …
invocations: Optional[Dict[str, List[Invocation]]]
Cloudflare Containers event information enriches your logs so you can easily identify and debug issues.
workers: Optional[InvocationWorkers]Cloudflare Workers event information enriches your logs so you can easily identify and debug issues.
Cloudflare Workers event information enriches your logs so you can easily identify and debug issues.