> ## Documentation Index
> Fetch the complete documentation index at: https://solidroad.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List a simulation's versions

> GET /v2/simulations/{id}/versions lists the versions of one training simulation.

```
GET https://api.solidroad.com/v2/simulations/{id}/versions
```

Scope: `simulations:read`.

A simulation gets a new version each time something that changes how it runs is saved: the simulation, its persona or its scorecard. An attempt's [`simulationVersionId`](https://solidroad.mintlify.site/api-reference/v2/endpoint/attempts/get#comparing-simulation-versions) names the version that the attempt ran on.

Each version tells you its number, what made it and which parts changed. It does not include the version's contents, such as the prompt or the persona, because they can hold facts that the persona keeps from learners.

The list sorts on `createdAt`, newest first. Send `order=asc` for oldest first. A deleted simulation keeps its versions.

The list is empty for a system simulation, which has no versions, and for every simulation when your workspace does not have simulation versioning.

## Path parameters

| Parameter | Type | Meaning |
| - | - | - |
| `id` | string | The simulation ID: `sim_` and a UUID. |

## Query parameters

| Parameter | Type | Default | Meaning |
| - | - | - | - |
| `limit` | integer | `50` | 1 to 100 records on a page. |
| `cursor` | string | none | `nextCursor` from the previous page. |
| `order` | string | `desc` | `asc` or `desc` on `createdAt`. |
| `filter` | string | none | A CEL expression over the fields below. |

Read [Lists](https://solidroad.mintlify.site/api-reference/v2/lists.md) for how the parameters work.

## Filter fields

| Field | Kind | Can be empty | Values |
| - | - | - | - |
| `createdAt` | Time | No | `timestamp("…")` |

## Request

```bash theme={null}
curl --get https://api.solidroad.com/v2/simulations/sim_00000000-0000-4000-8000-000000000001/versions \
  -H "Authorization: Bearer $SOLIDROAD_API_KEY" \
  --data-urlencode "limit=100"
```

## Response

`data` is a list of [simulation version objects](#simulation-version-object).

```json theme={null}
{
  "data": [
    {
      "id": "smv_00000000-0000-4000-8000-0000000000d3",
      "object": "simulation_version",
      "simulationId": "sim_00000000-0000-4000-8000-000000000001",
      "version": 3,
      "cause": "restored",
      "changedParts": ["prompt"],
      "restoredFromId": "smv_00000000-0000-4000-8000-0000000000d1",
      "createdAt": "2026-11-18T14:02:11.000Z"
    },
    {
      "id": "smv_00000000-0000-4000-8000-0000000000d2",
      "object": "simulation_version",
      "simulationId": "sim_00000000-0000-4000-8000-000000000001",
      "version": 2,
      "cause": "simulation_edited",
      "changedParts": ["prompt", "settings"],
      "createdAt": "2026-11-12T09:30:47.000Z"
    },
    {
      "id": "smv_00000000-0000-4000-8000-0000000000d1",
      "object": "simulation_version",
      "simulationId": "sim_00000000-0000-4000-8000-000000000001",
      "version": 1,
      "cause": "first_version",
      "changedParts": [],
      "createdAt": "2026-11-05T16:44:20.000Z"
    }
  ],
  "hasMore": false
}
```

## Simulation version object

| Field | Type | When present | Meaning |
| - | - | - | - |
| `id` | string | Always | The simulation version ID, `smv_…`. |
| `object` | string | Always | Always `simulation_version`. |
| `simulationId` | string | Always | The [simulation](https://solidroad.mintlify.site/api-reference/v2/endpoint/simulations/get.md) that the version belongs to, `sim_…`. |
| `version` | integer | Always | The version number. It counts up from 1 within the simulation. |
| `cause` | string | Always | What made the version. Read [Version cause](#version-cause). |
| `changedParts` | list | Always | The parts that differ from the version before, as strings. Read [Changed parts](#changed-parts). Empty on the first version. |
| `restoredFromId` | string | Restored versions | The version that this one brought back, `smv_…`. Only when `cause` is `restored`. |
| `createdAt` | time | Always | When the version was saved. |

### Version cause

| Value | Meaning |
| - | - |
| `first_version` | The first version recorded for the simulation. |
| `simulation_edited` | Someone edited the simulation. |
| `persona_edited` | Someone edited the persona that the simulation uses. |
| `scorecard_published` | A new version of the simulation's scorecard was published. |
| `restored` | Someone brought back an earlier version. `restoredFromId` names it. |
| `edited_elsewhere` | The simulation changed outside the simulation editor. |

### Changed parts

| Value | Meaning |
| - | - |
| `prompt` | The simulation's prompt. |
| `persona` | The persona. |
| `settings` | The simulation's settings. |
| `system_simulations` | The system simulations that the simulation includes. |
| `simulation_apps` | The apps that the simulation uses. |
| `scoring` | How the simulation is scored. |

Handle values that you do not know: we can add values in version 2.

A new version also moves the simulation's `updatedAt`, so a [sync of simulations](https://solidroad.mintlify.site/api-reference/v2/syncing.md) finds a simulation that has a new version.

## Errors

| Status | `code` | Cause |
| - | - | - |
| 400 | `invalid_request` | A parameter, the filter or the cursor is not valid. |
| 401 | `unauthorized` | The API key is missing or not valid. |
| 403 | `insufficient_scope` | The key does not have `simulations:read`. |
| 404 | `not_found` | No simulation with this ID is in your workspace, or version 2 leaves it out. |
| 429 | `rate_limited` | You sent too many requests. |

Read [Errors](https://solidroad.mintlify.site/api-reference/v2/errors.md) for every code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.