---
title: "Stop simulation"
method: POST
path: "/simulations/{simulationReference}/batches/{simulationRunBatchReference}"
tags: ["Simulations"]
---

# Stop simulation

`POST /simulations/{simulationReference}/batches/{simulationRunBatchReference}`

Stop a running simulation and all its active runs.

## Path parameters

- `simulationReference` string, required
- `simulationRunBatchReference` string, required

## Query parameters

- `projectId` string, required

## Response `200`

Simulation stop signal sent successfully

- object
  - `message` string, required — Success message
  - `simulationRunBatchId` string, required — Reference ID of the simulation that was signaled to stop

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Insufficient permissions
- `500` — Internal Server Error - Server error

---

[API](https://skmtc.net/cognigy/apis/simulator-openapi-rest-ful-api-reference.md) · [All operations](https://skmtc.net/cognigy/apis/simulator-openapi-rest-ful-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cognigy/simulator-openapi-rest-ful-api-reference/revisions/85b2872bdfb7/schema)
