List Sessions
Retrieve sessions with their completions, ordered by most recent first. Use to display conversation history or analyze LLM usage patterns. Traces are referenced by ID but not expanded.
Filter by custom metadata using query parameters prefixed with custom_metadata. (e.g., custom_metadata.user_id=123).
page_size defaults to 10, maximum 100.
Prefer using the /search/sessions endpoint for more advanced filtering.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Response
The type of parameterized generics.
That is, for example, type(List[int]) is _GenericAlias.
Objects which are instances of this class include:
- Parameterized container types, e.g.
Tuple[int],List[int]. - Note that native container types, e.g.
tuple,list, usetypes.GenericAliasinstead. - Parameterized classes:
class C[T]: pass
C[int] is a _GenericAlias
Callablealiases, genericCallablealiases, and parameterizedCallablealiases: T = TypeVar('T')_CallableGenericAlias inherits from _GenericAlias.
A = Callable[[], None] # _CallableGenericAlias B = Callable[[T], None] # _CallableGenericAlias C = B[int] # _CallableGenericAlias- Parameterized
Final,ClassVar,TypeForm,TypeGuard, andTypeIs:All _GenericAlias
Final[int] ClassVar[float] TypeForm[bytearray] TypeGuard[bool] TypeIs[range]
Note that instances of this class are not classes (e.g by inspect.isclass),
even though they behave like them.

