Get Active Config

GET

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_.

Query parameters

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

Response

This endpoint returns an object
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_datapointsintegerOptional
Number of datapoints associated with this project model config.
evaluation_aggregateslist of objectsOptional
Aggregates of evaluators for the model config.
environment_idstringOptional
ID of environment to reference in subsequent log calls.

Errors