Phoenix supports querying traces via its GraphQL API, allowing you to retrieve specific traces, spans, and associated evaluations. You can query for a trace by its ID, access span details, and filter or aggregate trace data for analysis. There is no public REST API for querying traces as JSON, but GraphQL is the recommended approach for programmatic access at this time. For more details, see the trace node GraphQL discussion and example GraphQL queries for spans/evaluations.If you need to extract trace data as DataFrames for analysis, Phoenix's Python client provides methods to query and export spans and traces, as shown in the official documentation. There is currently no documented REST endpoint for querying traces directly as JSON.Would you like more detail or code examples for querying traces via GraphQL or the Python client?Sources:
- example GraphQL queries for spans/evaluations
- trace node GraphQL discussion
馃挕聽Hint: Mention RunLLM in the thread for followups.