---
title: "POST /simulate/run-tests/{run_test_id}/execute/"
method: POST
path: "/simulate/run-tests/{run_test_id}/execute/"
tags: ["simulate"]
---

# POST /simulate/run-tests/{run_test_id}/execute/

`POST /simulate/run-tests/{run_test_id}/execute/`

## Request

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

Execute a test run

## Request body

- ExecuteRunTest
  - `scenario_ids` string[]
  - `simulator_id` string, uuid, nullable
  - `select_all` boolean

## Response `200`

OK

- RunTestExecutionResponse
  - `message` string
  - `execution_id` string, uuid
  - `run_test_id` string, uuid
  - `status` string
  - `total_scenarios` integer
  - `total_calls` integer
  - `scenario_ids` string[]

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `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)
