API.fetch_model_by_id#

API.fetch_model_by_id(model_id: int, raise_on_status: bool = True) Union[Response, Dict[str, Any]]#

Fetch model record by its numerical identifier.

Parameters
model_idint

The model id.

raise_on_statusbool, optional

Raise exception if status code is not 200.

Returns
Union[httpx.Response, list]

The response object.