Method
setDefaultModelAlgorithm POST
Copy POST

Sets the model's algorithm to default for all new deployments

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes modelId str Unique identifier of the model to set.
No algorithm str Algorithm to pin in the model.
No dataClusterType str Data cluster type to set the lead model for.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

modelId is not found.

Language: