# Retrieve an exam result

`GET https://api.cademi.com.br/api/v3/products/{product_id}/exams/{exam_id}/results/{exam_result_id}`

Operation ID: `exams.results.get` · API v3

A result shares the public ID of the attempt it comes from. Attempts that are still open or were discarded are not results.

The response includes an `ETag` representing the current revision, which can be sent in the `If-Match` header when deleting the result.

Required permissions: `exams.attempts.read`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `product_id` | path | string | yes |  |
| `exam_id` | path | string | yes |  |
| `exam_result_id` | path | string | yes |  |

## Responses

### 200

Returns the requested result.

Body: `data`: ExamResult.

Fields of ExamResult:

| Field | Type | Required | Description |
|---|---|---|---|
| `correct_count` | integer | yes |  |
| `exam_id` | string | yes | Public ID of the exam, prefixed with exm_. |
| `finished_at` | string or null (date-time) | yes |  |
| `id` | string | yes | Public ID of the exam attempt, prefixed with exa_. |
| `lesson_id` | string or null | yes | Public ID of the lesson in which the exam was taken. |
| `min_score` | number or null | yes |  |
| `object` | string, one of `exam_result` | yes |  |
| `passed` | boolean or null | yes | Whether the attempt reached the passing score. null when the exam has no passing score or the attempt is not finished. |
| `product_id` | string | yes | Public ID of the product, prefixed with prd_. |
| `revision` | string | yes |  |
| `score` | number or null | yes |  |
| `started_at` | string (date-time) | yes |  |
| `status` | string, one of `open`, `completed`, `discarded`, `timed_out` | yes |  |
| `user` | object | yes | The user who made the attempt. The email address is never included. |
| `wrong_count` | integer | yes |  |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The result was not found for the specified exam or is not accessible with the current credentials. Attempts that are still open or were discarded are not results.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
