projects

Update

Update a specific project.

Set the project's active model config by passing active_model_config_id. These will be set to the Default environment unless a list of environments are also passed in specifically detailing which environments to assign the active config.

patch/projects/{id}

Request

  • Base URL: https://api.humanloop.com/v4
  • URL: https://api.humanloop.com/v4/projects/{id}
  • Auth: API key in header X-API-KEY

Path parameters

idstring required

String ID of project. Starts with pr_.

Request body

namestring

The new unique project name. Caution, if you are using the project name as the unique identifier in your API calls, changing the name will break the calls.

active_config_idstring

ID for a config to set as the project's active deployment. Starts with 'config_'.

directory_idstring

ID of directory to assign project to. Starts with dir_.

Response

Successful Response

idstring required

Project ID

namestring required

Unique project name.

data_countinteger required

The count of datapoints that have been logged to the project.

team_idstring required

Unique ID of the team the project belongs to. Starts with tm_.

config_type'generic' | 'model' | 'tool' | 'agent' | 'evaluator'

An enumeration.

directory_idstring

String ID of the directory the project belongs to. Starts with dir_.

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.