Deploy Config

PATCH

Deploy a model config to an environment.

If the environment already has a model config deployed, it will be replaced.

Path parameters

project_idstringRequired

Request

This endpoint expects an object.
config_idstringRequired

Model config unique identifier generated by Humanloop.

environmentslist of objectsOptional

List of environments to associate with the model config.

Response

Successful Response

project_idstring

String ID of project the model config belongs to. Starts with pr_.

project_namestring

Name of the project the model config belongs to.

environment_idstring

The ID of the environment.

environment_namestring

The name of the environment.

environment_tagstring

Tag for the environment e.g. ‘default’ or ‘other’.

model_config_idstringOptional

Model config unique identifier generated by Humanloop.

model_config_namestringOptional

A friendly display name for the model config.

Errors