Configuration controls which models, scheduled targets, endpoints, custom evals, environment profiles, and API base URL Sapient uses for API Performance.Documentation Index
Fetch the complete documentation index at: https://usesapient.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Commands
| Command | Description |
|---|---|
sapient api-performance config retrieve | Get the API Performance config. |
sapient api-performance config update | Update the API Performance config. |
target_type, execution_platform, and model_id combinations before updating config.
Retrieve config
Update models and eval selection
Update scheduled targets
Use--targets for scheduled text or agent targets:
target_type, execution_platform, model_id, frequency, enabled, next_run_at, and integration_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 Sapient 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.id, name, and env_var_keys. Secret values are not returned.
Fields
| Flag | Description |
|---|---|
--models | Model IDs to include as a JSON array. |
--targets | Scheduled target objects as a JSON array. |
--endpoint-ids | Endpoint or operation eval IDs to include as a JSON array. |
--custom-eval-ids | Custom eval IDs to include as a JSON array. |
--env-vars | Environment variable map as JSON. |
--env-profiles | Environment profile objects as a JSON array. |
--default-env-profile-id | Default environment profile ID. |
--integration-id | Source ID for source-specific config. |
--api-base-url | Base URL available to eval runs. |