Skip to main content
Configuration controls which models, scheduled targets, operations, custom evals, environment profiles, and API base URL Lightsage uses for API Performance.

Commands

Use Targets to discover valid target_type, execution_platform, and model_id combinations before updating config.

Retrieve config

Retrieve config for one source:
Example response:

Update models and eval selection

Update custom eval selection:

Update scheduled targets

Use --targets for scheduled text or agent targets:
Target fields include target_type, execution_platform, model_id, frequency, enabled, next_run_at, and source_id. For text model evals, use execution_platform set to openrouter and a text model ID from the target catalog.

Set base URL and environment variables

Read responses include environment variable keys, not secret values. Update requests can send environment variables, but Lightsage does not return stored secret values.

Configure environment profiles

Environment profiles let you store named sets of environment variables and choose which profiles a specific eval can use.
Read responses expose each profile’s id, name, and env_var_keys. Secret values are not returned.

Fields