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.

Path parameters

idstringRequired

String ID of project. Starts with pr_.

Headers

X-API-KEYstringRequired

Query parameters

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

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.
created_atdatetime
updated_atdatetime
last_useddatetime
configobject
num_datapointsinteger or null
Number of datapoints associated with this project model config.
evaluation_aggregateslist of objects or null
Aggregates of evaluators for the model config.
environment_idstring or null
ID of environment to reference in subsequent log calls.

Errors