Eval Setup

Update Eval Config

Updates and returns the saved evaluation configuration. Environment variable values are write-only, and valid target combinations come from GET /v1/api-performance/targets.

put/v1/api-performance/config

Request

  • Base URL
    https://api.lightsage.com
  • Auth
    API key in header X-Lightsage-Api-Key

Request body

modelsstring[] nullable

Legacy model selection; prefer targets.

operation_idsstring[] nullable

operation_id values from GET /v1/api-performance/evals.

custom_eval_idsstring[] nullable

IDs from GET /v1/api-performance/custom-evals.

env_varsobject nullable

Environment variable values are write-only; reads return their names in env_var_keys.

default_env_profile_idstring

An ID from env_profiles: the default for source_id, or the brand default when no source is given.

source_idstring

Source ID from GET /v1/api-performance/sources.

api_base_urlstring

Response

Successful Response

modelsstring[] required

Legacy model selection superseded by targets.

operation_idsstring[] required
custom_eval_idsstring[]
env_var_keysstring[]

Environment variable names; values are never returned.

default_env_profile_idstring nullable
source_idstring nullable
api_base_urlstring nullable
can_configure_per_model_schedulesboolean

Changes

No operation changes recorded.