> ## 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.

# Introduction

> Version 2 of the Solidroad API is read-only. It reads your training data: assignments, enrollments, attempts, simulations, scorecards, people and groups.

## Base URL

Send every version 2 request to one host, with `/v2` at the start of the path:

```
https://api.solidroad.com/v2
```

The path selects the version. You do not send a `Solidroad-Version` header. If you send one, version 2 ignores it.

## What you can read

> [!NOTE]
>
> Version 2 is read-only. It reads assignments, enrollments, attempts, simulations, scorecards, people and groups. It does not create, update or delete any of them.
>
> Every endpoint is a `GET`. A `POST`, `PUT`, `PATCH` or `DELETE` request returns `405` with the [`method_not_allowed`](https://solidroad.mintlify.site/api-reference/v2/errors#method_not_allowed) error. To change these records, use the Solidroad app.

| Entity | Endpoints |
| - | - |
| Assignment | [List assignments](https://solidroad.mintlify.site/api-reference/v2/endpoint/assignments/list.md), [Get an assignment](https://solidroad.mintlify.site/api-reference/v2/endpoint/assignments/get.md) |
| Enrollment | [List enrollments](https://solidroad.mintlify.site/api-reference/v2/endpoint/enrollments/list.md), [List an assignment's enrollments](https://solidroad.mintlify.site/api-reference/v2/endpoint/assignments/enrollments.md) |
| Attempt | [List attempts](https://solidroad.mintlify.site/api-reference/v2/endpoint/attempts/list.md), [Get an attempt](https://solidroad.mintlify.site/api-reference/v2/endpoint/attempts/get.md), [Get an attempt transcript](https://solidroad.mintlify.site/api-reference/v2/endpoint/attempts/transcript.md) |
| Simulation | [List simulations](https://solidroad.mintlify.site/api-reference/v2/endpoint/simulations/list.md), [Get a simulation](https://solidroad.mintlify.site/api-reference/v2/endpoint/simulations/get.md) |
| Simulation version | [List a simulation's versions](https://solidroad.mintlify.site/api-reference/v2/endpoint/simulations/versions.md) |
| Scorecard | [List scorecards](https://solidroad.mintlify.site/api-reference/v2/endpoint/scorecards/list.md), [Get a scorecard](https://solidroad.mintlify.site/api-reference/v2/endpoint/scorecards/get.md) |
| Scorecard version | [List a scorecard's versions](https://solidroad.mintlify.site/api-reference/v2/endpoint/scorecards/versions.md), [Get a scorecard version](https://solidroad.mintlify.site/api-reference/v2/endpoint/scorecards/get-version.md) |
| Person | [List people](https://solidroad.mintlify.site/api-reference/v2/endpoint/people/list.md), [Get a person](https://solidroad.mintlify.site/api-reference/v2/endpoint/people/get.md) |
| Group | [List groups](https://solidroad.mintlify.site/api-reference/v2/endpoint/groups/list.md), [Get a group](https://solidroad.mintlify.site/api-reference/v2/endpoint/groups/get.md), [List a group's members](https://solidroad.mintlify.site/api-reference/v2/endpoint/groups/members.md), [List a group's leads](https://solidroad.mintlify.site/api-reference/v2/endpoint/groups/leads.md) |

An enrollment is one learner in one assignment. An attempt is one go by a learner at one simulation, in an assignment or in practice. A person is one member of your workspace. A group is a set of people, and it can sit under another group.

Every list takes a `filter` parameter, written in a subset of [CEL](https://cel.dev), such as `status == "open" && dueAt < timestamp("2026-12-01T00:00:00Z")`. Read [Filtering](https://solidroad.mintlify.site/api-reference/v2/filtering.md) for the syntax the API supports.

## Your first request

```bash theme={null}
curl "https://api.solidroad.com/v2/assignments?limit=1" \
  -H "Authorization: Bearer $SOLIDROAD_API_KEY"
```

```json theme={null}
{
  "data": [
    {
      "id": "asg_00000000-0000-4000-8000-000000000001",
      "object": "assignment",
      "createdAt": "2026-10-01T09:00:00.000Z",
      "updatedAt": "2026-10-28T09:14:02.511Z",
      "appUrl": "https://app.solidroad.com/dashboard/assignments/asg_00000000-0000-4000-8000-000000000001",
      "name": "Refund calls: October",
      "status": "open",
      "dueAt": "2026-11-15T23:59:00.000Z",
      "passingScore": 80,
      "requiresRetry": false
    }
  ],
  "hasMore": true,
  "nextCursor": "eyJhdCI6IjIwMjYtMTAtMjhUMDk6MTQ6MDIuNTExWiIsImtleSI6ImFzZ18wMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDIiLCJzY29wZSI6IlhxM24wYlFrN3NUekx3MlZoWWM5YUEifQ"
}
```

To get a key and send it, read [Authentication](https://solidroad.mintlify.site/api-reference/v2/authentication.md).

## OpenAPI spec

The [OpenAPI spec](https://docs.solidroad.com/api-reference/v2/openapi.json) describes every version 2 endpoint. Use it to generate a client or to import the API into a tool. It is generated from the API, so it lists what the API takes and returns.

The address redirects to where the docs are hosted, so use `curl -L` or a client that follows redirects.

## IDs

An ID is a prefix, an underscore and a UUID, such as `asg_3f2a8c1e-5b7d-4e19-9c0a-2d6f8b1e4a73`. The prefix tells you the entity:

| Prefix | Entity |
| - | - |
| `asg_` | Assignment |
| `att_` | Attempt |
| `enr_` | Enrollment |
| `grp_` | Group |
| `ppl_` | Person |
| `scd_` | Scorecard |
| `scv_` | Scorecard version |
| `sim_` | Simulation |
| `smv_` | Simulation version |

IDs do not change. You can store them and use them as keys in your own system. A field that refers to another record is named `<entity>Id`, such as `assignmentId` and `learnerId`.

## Fields

* Field names are camelCase, such as `nextCursor` and `updatedAt`.
* Times are RFC 3339 in UTC, such as `2026-10-28T09:14:02.511Z`. Their names end in `At`.
* Enum values are lower case with underscores, such as `in_progress`.
* `appUrl` opens the record in the Solidroad app. The person who opens it must sign in to your workspace.
* A field with no value is left out of the response. Version 2 never sends `null`.

## Changes to version 2

We add to version 2 without notice. We can add endpoints, response fields, optional parameters, error codes and enum values.

Write your client so that these additions do not break it:

* Ignore response fields that you do not know.
* Handle enum values that you do not know, for example as "other".
* Read the error `code`, not the `title` or `detail` text.

We do not remove or rename a field, or change its type, in version 2. A change of that kind goes to a new version. Before we remove an endpoint or a field, its responses carry a `Deprecation` header ([RFC 9745](https://www.rfc-editor.org/rfc/rfc9745)) and a `Sunset` header with the date ([RFC 8594](https://www.rfc-editor.org/rfc/rfc8594)). The date is at least 6 months later, and we announce the change.

## Version 1

Version 1 works until the end of 31 December 2026 (UTC). From 1 January 2027 its endpoints answer `404`. Its pages are in the **Version 1** tab. To move a sync, read [Moving from version 1](https://solidroad.mintlify.site/api-reference/v2/moving-from-version-1.md). Version 1 has a different error shape and different page fields, so do not mix the two in one client.


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