Session retrieval is now available in both the Python and TypeScript client SDKs. You can fetch individual sessions by ID or list all sessions for a project — with automatic pagination, async support, and DataFrame export built in.Documentation Index
Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Python
Theclient.sessions resource adds three methods:
get(session_id)— Fetch a single session with all its traceslist(project_name, limit)— List sessions for a project with automatic paginationget_sessions_dataframe(project_name)— Return sessions as a pandas DataFrame
AsyncClient with the same interface.
TypeScript
Two new functions are exported from@arizeai/phoenix-client/sessions:
getSession({ sessionId })— Fetch a single session with all its traceslistSessions({ projectName })— List all sessions for a project with automatic pagination
Return Types
Both SDKs return the same shape: each session includessessionId, projectId, startTime, endTime, and a traces array. Each trace contains traceId, startTime, and endTime.
Python SDK Reference
Full Python client documentation
TypeScript SDK Reference
Full TypeScript client documentation

