qcrboxapiclient.api.interactive_sessions.list_interactive_sessions

async qcrboxapiclient.api.interactive_sessions.list_interactive_sessions.asyncio(*, client)

List all interactive sessions

Retrieve a list of interactive sessions, past and present.

Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Return type:

Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse, None]

Returns:

Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse]

Parameters:

client (AuthenticatedClient | Client)

async qcrboxapiclient.api.interactive_sessions.list_interactive_sessions.asyncio_detailed(*, client)

List all interactive sessions

Retrieve a list of interactive sessions, past and present.

Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Return type:

Response[Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse]]

Returns:

Response[Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse]]

Parameters:

client (AuthenticatedClient | Client)

qcrboxapiclient.api.interactive_sessions.list_interactive_sessions.sync(*, client)

List all interactive sessions

Retrieve a list of interactive sessions, past and present.

Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Return type:

Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse, None]

Returns:

Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse]

Parameters:

client (AuthenticatedClient | Client)

qcrboxapiclient.api.interactive_sessions.list_interactive_sessions.sync_detailed(*, client)

List all interactive sessions

Retrieve a list of interactive sessions, past and present.

Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Return type:

Response[Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse]]

Returns:

Response[Union[QCrBoxErrorResponse, QCrBoxResponseInteractiveSessionsResponse]]

Parameters:

client (AuthenticatedClient | Client)