Methods
query_spans
query_spans
Parameters
Parameters
Start time in ISO 8601 format (e.g., 2025-03-12T00:00:09.872Z)
Tracing project FQN (e.g., truefoundry:tracing-project:tfy-default)
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
🔗 TracesSubjectTypeArray 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)
Cursor token for pagination. This is an opaque string that should be passed as-is from the previous response
Returns
🔗 TraceSpanReturns all the spans matching the query.