projects > activeConfig

Get Active Config

Retrieves a config to use to execute your model.

A config will be selected based on the project's active config settings.

get/projects/{id}/active-config

Request

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

Path parameters

idstring required

String ID of project. Starts with pr_.

Query parameters

environmentstring

Name for the environment. E.g. 'production'. If not provided, will return the active config for the default environment.

Response

Successful Response

project_idstring required

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

project_namestring required

Name of the project the model config belongs to.

created_atstring date-time required
updated_atstring date-time required
last_usedstring date-time required
num_datapointsinteger

Number of datapoints associated with this project model config.

environment_idstring

ID of environment to reference in subsequent log calls.

Changes

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