Skip to main content

List Agent Sessions

GET 

/api/v1/agent_session/list/:workspace_id

List all agent sessions in the workspace.

Args

response (Response): The response object. workspace_id (str): The workspace ID to list sessions for. org_member: The organizational member making the request. db (AsyncSession): The database session.

Returns

list[AgentSessionInDBSchema]: A list of agent sessions with HTTP status of status.HTTP_200_OK.

Important observations

  • Only sessions from the specified workspace are returned.

Request

Responses

Successful Response