API reference for get filtered spans data with detailed attributes, covering request parameters, responses, and examples for integrating with TrueFoundry.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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
["traceid1", "traceid2"]Array of span IDs to filter by
["spanId1", "spanId2"]Array of parent span IDs to filter by
["", "parentSpanId1", "parentSpanId2"]Array of subject types to filter by
Subject type
user, team, serviceaccount, virtualaccount, external-identity ["user", "virtualaccount"]Array of subject slugs to filter by
["user@example.com", "service-account"]Array of application names to filter by
["tfy-llm-gateway", "order-service"]The maximum number of spans to return per page. Defaults to 200 if not provided.
200
Sort direction for results based on time. Defaults to descending (latest first)
asc, desc "desc"
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.
Array of filters
When true, feedback data is included in the response. When false, feedback data is excluded (returns empty array).