API Stability Preview

The workerQueryTracingState() GraphQL query field is used to get the list of keys used to select queries for tracing workers. This is a preview and subject to change.

Syntax

Below is the syntax for the workerQueryTracingState() query field:

graphql
workerQueryTracingState: WorkerQueryTracingState!

Below is an example of how this query field might be used:

Show:
graphql
query {
  workerQueryTracingState { items{key, expiry} }
}

Returned Datatypes

WorkerQueryTracingState has a couple of parameters and some sub-parameters. Below is a list of them along with a description of each:

Table: WorkerQueryTracingState

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Apr 2, 2025
items[WorkerQueryTracingItem]yes PreviewThe items being traced. See WorkerQueryTracingItem.