Methods
query_spans
query_spans
Parameters
Parameters
End time in ISO 8601 format (e.g., 2025-03-12T00:10:00.000Z). Defaults to current time if not provided.
🔗 SubjectTypeArray of subject types to filter by
The maximum number of spans to return per page. Defaults to 200 if not provided.
🔗 SortDirectionSort direction for results based on time. Defaults to descending (latest first)
An opaque string that should be passed as-is from previous response for fetching the next page. Pass
$response.pagination.nextPageToken from previous response for fetching the next page.Data Routing Destination. One of tracingProjectFqn or dataRoutingDestination is required.
🔗 QuerySpansRequestFiltersItemArray of filters
When true, feedback data is included in the response. When false, feedback data is excluded (returns empty array).
When true, gateway input and output (
tfy.input / tfy.output) are included in the response. When false, those columns are not read. Defaults to false.Returns
🔗 QuerySpansResponseReturns all the spans matching the query.