Methods
query_spans
query_spans
Parameters
Parameters
Start time in ISO 8601 format (e.g., 2025-03-12T00:00:09.872Z)
End time in ISO 8601 format (e.g., 2025-03-12T00:10:00.000Z). Defaults to current time if not provided.
Array of trace IDs to filter by
Array of span IDs to filter by
Array of parent span IDs to filter by
🔗 SubjectTypeArray of subject types to filter by
Array of subject slugs to filter by
Array of application names 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.Tracing project FQN (e.g., truefoundry:tracing-project:tfy-default)
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).
Returns
🔗 QuerySpansResponseReturns all the spans matching the query.