Retrieve paginated list of sessions with filtering and sorting options. Supports filtering by session type (agent, team, workflow), component, user, and name. Sessions represent conversation histories and execution contexts.
Type of sessions to retrieve (agent, team, or workflow)
agent
, team
, workflow
Filter sessions by component ID (agent/team/workflow ID)
Filter sessions by user ID
Filter sessions by name (partial match)
Number of sessions to return per page
Page number for pagination
Field to sort sessions by
Sort order (asc or desc)
asc
, desc
Database ID to query sessions from
Sessions retrieved successfully
The response is of type object
.