Update Eval Config
Update an evaluation configuration for a test run. Modify config, mapping, model, name, or error localizer. Optionally trigger an immediate rerun after saving.
https://api.futureagi.com/simulate/run-tests/{run_test_id}/eval-configs/{eval_config_id}/update/ Authentication
Path parameters
The test run ID.
The evaluation configuration ID.
Request body
Updated evaluation configuration parameters. Supports nested config and mapping keys.
Updated field mapping between test data and evaluation inputs.
Model to use for evaluations.
Enable granular error localization in evaluation results.
UUID of a knowledge base to use for grounding. Pass null to clear.
Updated name for the evaluation configuration. Cannot be blank.
When true, triggers an immediate rerun after updating. Defaults to false. Requires test_execution_id when set to true.
UUID of the test execution to rerun against. Required when run is true.
Response
200 OKrun=true. run=true. run=true. Errors
Validation error. The response includes a details object with per-field errors.
{
"test_execution_id": ["test_execution_id is required when run is true"]
}Or when the test execution has an incompatible status:
{"error": "Only test executions with COMPLETED, CANCELLED, or FAILED status can have evaluations rerun"} Invalid or missing API credentials.
Test run or evaluation configuration not found.
{"detail": "No RunTest matches the given query."} Unexpected server error.
{"error": "Failed to update evaluation config: <message>"}