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.

