API.create_model#

API.create_model(model: Dict[str, Any], raise_on_status: bool = True) Union[Response, Dict[str, Any]]#

Create model.

Parameters
modeldict

The model to create.

raise_on_statusbool, optional

Raise exception if status code is not 200.

Returns
httpx.Response

The response object.