qcrboxapiclient.api.interactive_sessions.get_interactive_session_by_id¶
- async qcrboxapiclient.api.interactive_sessions.get_interactive_session_by_id.asyncio(id, *, client)¶
Get interactive session by ID
Retrieve and interactive session of the given ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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]
- async qcrboxapiclient.api.interactive_sessions.get_interactive_session_by_id.asyncio_detailed(id, *, client)¶
Get interactive session by ID
Retrieve and interactive session of the given ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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]]
- qcrboxapiclient.api.interactive_sessions.get_interactive_session_by_id.sync(id, *, client)¶
Get interactive session by ID
Retrieve and interactive session of the given ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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]
- qcrboxapiclient.api.interactive_sessions.get_interactive_session_by_id.sync_detailed(id, *, client)¶
Get interactive session by ID
Retrieve and interactive session of the given ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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]]