---
title: "Get simulation by ID"
method: GET
path: "/simulations/{simulationReference}/batches/{simulationRunBatchReference}"
tags: ["Simulations"]
---

# Get simulation by ID

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

Retrieve a specific simulation by its reference ID.

## Path parameters

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

## Query parameters

- `projectId` string, required

## Response `200`

Simulation retrieved successfully

- object
  - `id` string, required — Unique identifier for the simulation
  - `referenceId` string, required — Reference ID for the simulation
  - `simulationReference` string, required — Reference ID of the simulated scenario
  - `status` 'pending' | 'running' | 'completed' | 'failed' | 'stopped', required — Current status of the simulation
  - `runs` integer, required — Number of runs in this simulation
  - `completedRuns` integer, required — Number of completed runs
  - `failedRuns` integer, required — Number of failed runs
  - `createdAt` integer, required — Creation timestamp
  - `startedAt` integer, nullable — Start timestamp
  - `completedAt` integer, nullable — Completion timestamp

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Insufficient permissions
- `404` — Not Found - Simulation not found
- `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/versions/85b2872bdfb7/schema)
