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

> GET /v2/attempts lists the training attempts in your workspace: role-plays and system simulations.

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

Scope: `attempts:read`.

An attempt is one go by a learner at one simulation. The list has role-plays and system simulations together, in assignments and in practice. It does not include hiring candidates' attempts, authors' previews, deleted attempts, or calls that never connected. The list sorts on `updatedAt`, newest first. Send `order=asc` for oldest first.

## 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 `updatedAt`. |
| `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, and [Filtering](https://solidroad.mintlify.site/api-reference/v2/filtering.md) for the filter syntax.

## Filter fields

| Field | Kind | Can be empty | Values |
| - | - | - | - |
| `learnerId` | ID | No | A person ID, `ppl_…` |
| `enrollmentId` | ID | Yes | An enrollment ID, `enr_…`, or `null` |
| `simulationId` | ID | No | A simulation ID, `sim_…` |
| `status` | Enum | No | `in_progress`, `paused`, `completed`, `failed` or `abandoned` |
| `updatedAt` | Time | No | `timestamp("…")` |

These are the only fields that you can filter on. Read [Filtering](https://solidroad.mintlify.site/api-reference/v2/filtering.md) for the syntax and the operators that each kind takes.

An attempt in practice, outside an assignment, has no enrollment. To read only practice, send `enrollmentId == null`. To read only attempts in assignments, send `enrollmentId != null`.

An attempt at a system simulation is only `in_progress` or `completed`. A filter on another status leaves system simulations out.

You cannot filter on `score` or `passed`. To find attempts with one of these values, read the list and check the field in your code.

## Request

```bash theme={null}
curl --get https://api.solidroad.com/v2/attempts \
  -H "Authorization: Bearer $SOLIDROAD_API_KEY" \
  --data-urlencode 'filter=enrollmentId == "enr_00000000-0000-4000-8000-000000000001"' \
  --data-urlencode "limit=2"
```

## Response

`data` is a list of [attempt objects](https://solidroad.mintlify.site/api-reference/v2/endpoint/attempts/get.md#attempt-object).

```json theme={null}
{
  "data": [
    {
      "id": "att_00000000-0000-4000-8000-000000000002",
      "object": "attempt",
      "kind": "role_play",
      "learnerId": "ppl_00000000-0000-4000-8000-000000000001",
      "enrollmentId": "enr_00000000-0000-4000-8000-000000000001",
      "simulationId": "sim_00000000-0000-4000-8000-000000000001",
      "simulationVersionId": "smv_00000000-0000-4000-8000-0000000000d2",
      "status": "completed",
      "startedAt": "2026-10-21T15:10:04.000Z",
      "endedAt": "2026-10-21T15:24:51.000Z",
      "score": 86,
      "passed": true,
      "scoreCorrected": false,
      "scoredAt": "2026-10-21T15:25:30.412Z",
      "positives": "The learner stayed calm and explained the charge clearly.",
      "negatives": "The learner did not ask what the customer had already tried.",
      "sectionScores": [
        {
          "sectionId": "00000000-0000-4000-8000-0000000000a1",
          "name": "Empathy",
          "type": "skill",
          "score": 8,
          "topScore": 10,
          "failedScorecard": false,
          "explanation": "The learner acknowledged the customer's frustration early."
        }
      ],
      "scorecardId": "scd_00000000-0000-4000-8000-0000000000c1",
      "scorecardVersionId": "scv_00000000-0000-4000-8000-0000000000b1",
      "createdAt": "2026-10-21T15:09:58.000Z",
      "updatedAt": "2026-10-21T15:25:30.412Z"
    },
    {
      "id": "att_00000000-0000-4000-8000-000000000001",
      "object": "attempt",
      "kind": "system",
      "learnerId": "ppl_00000000-0000-4000-8000-000000000001",
      "enrollmentId": "enr_00000000-0000-4000-8000-000000000001",
      "simulationId": "sim_00000000-0000-4000-8000-000000000001",
      "status": "completed",
      "mode": "assessment",
      "startedAt": "2026-10-20T10:02:11.000Z",
      "endedAt": "2026-10-20T10:19:40.000Z",
      "createdAt": "2026-10-20T10:02:11.000Z",
      "updatedAt": "2026-10-20T10:19:40.000Z"
    }
  ],
  "hasMore": true,
  "nextCursor": "eyJhdCI6IjIwMjYtMTAtMjBUMTA6MTk6NDAuMDAwWiIsImtleSI6ImF0dF8wMDAwMDAwMC0wMDAwLTQwMDAtODAwMC0wMDAwMDAwMDAwMDEiLCJzY29wZSI6IlhxM24wYlFrN3NUekx3MlZoWWM5YUEifQ"
}
```

## 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 `attempts:read`. |
| 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.