Eval definitions contain the prompt, expected behavior, starter project, and runtime options Sapient uses for API Performance runs.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 evals list | List eval definitions. |
sapient api-performance evals retrieve --eval-id <eval_id> | Retrieve one eval definition. |
sapient api-performance evals update --eval-id <eval_id> | Update one eval definition. |
List eval definitions
Retrieve an eval definition
Update an eval definition
Change the custom prompt and expected behavior:--skills-mode '"all"' to use all available skills for the organization, or --skills-mode '"none"' to disable skill context. Use --compare-skills true when you want Sapient to compare runs with skill context enabled.
Disable an eval without deleting it:
| Flag | Description |
|---|---|
--custom-prompt | Replacement prompt text for the eval. |
--expected-behavior | Expected behavior used by graders and diagnosis. |
--starting-project-id | Starter project cloned before the eval. Pass an empty string to clear it. |
--docs-mode | Docs behavior for the eval. Use default, include, or exclude. |
--include-env-vars | Include configured environment variable names in the eval prompt. |
--env-profile-ids | Environment profile IDs to use for this eval as a JSON array. Empty array clears the selection. |
--model-ids | Model IDs to use for this eval as a JSON array. Empty array uses config-level models. |
--skills-mode | Skill behavior for the eval. Use none, all, or selected. |
--skill-ids | Skill IDs to use when --skills-mode '"selected"', as a JSON array. |
--compare-skills | Compare skill-enabled runs against the default eval path. |
--mcp-enabled | Enable MCP context for the eval. |
--run-context | Additional runtime context as JSON. |
--enabled | Enable or disable the eval. |