# Get eval

```http
GET /projects/{project_reference}/evals/{eval_id}
```

Read one eval definition by its ID to inspect its target, dataset, metrics and the fields that can be edited; returns the eval. Requires project.evals.read.

## Parameters

| Name                    | In    | Required | Description                                                                                             |
| ----------------------- | ----- | -------- | ------------------------------------------------------------------------------------------------------- |
| `project_reference`     | path  | Yes      | Project slug, UUID, or domain that identifies the project.                                              |
| `eval_id`               | path  | Yes      |                                                                                                         |
| `source_target_kind`    | query |          | Source to read: project, main\_branch, environment or preview\_branch. Overrides runtime\_target\_kind. |
| `runtime_target_kind`   | query |          | Runtime target to read from: main\_branch, environment or preview\_branch.                              |
| `target_environment_id` | query |          | Environment to read from when the target kind is environment.                                           |
| `target_branch_id`      | query |          | Preview branch to use when the target kind is preview\_branch.                                          |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 200    | The eval definition from the selected source target.                                                        |
| 400    | Bad request                                                                                                 |
| 401    | Unauthorized                                                                                                |
| 403    | Forbidden                                                                                                   |
| 404    | Not found                                                                                                   |
| 500    | Server error                                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |
