---
title: "Run new evaluations on test executions"
method: POST
path: "/simulate/run-tests/{run_test_id}/run-new-evals/"
tags: ["Run Tests - Eval Configs"]
---

# Run new evaluations on test executions

`POST /simulate/run-tests/{run_test_id}/run-new-evals/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/run-tests/{run_test_id}/run-new-evals/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Runs new evaluations on completed test executions. Either test_execution_ids or select_all=true must be provided.

## Request body

- RunNewEvalsOnTestExecution
  - `test_execution_ids` string[]: List of specific test execution IDs to run evaluations on
  - `select_all` boolean: Whether to run evaluations on all test executions in the run test
  - `eval_config_ids` string[], required: List of SimulateEvalConfig IDs to run on the test executions
  - `enable_tool_evaluation` boolean: Whether to enable tool evaluation for this run (if not provided, uses the run test's current setting)

## Response `200`

OK

- RunNewEvalsResponse
  - `message` string, required
  - `run_test_id` string, uuid, required
  - `call_execution_count` integer, required
  - `dispatched` boolean, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
