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

# Authentication

The Quality Evaluator API uses Phrase Platform authentication.

Generate an API token for **Quality Evaluator** in the [Phrase Platform Settings](https://eu.phrase.com/idm-ui/settings/access-tokens), then exchange it for a JWT as described in the [Platform Authentication guide](/en/api/platform/authentication).

Include the JWT in the `Authorization` header with every request:

```bash theme={null}
curl -X GET "https://eu.phrase.com/quality-evaluator/v1/aiChecks" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
```

### Required roles

Some endpoints are restricted by IDM role:

| Access level                | Endpoints                                                                |
| --------------------------- | ------------------------------------------------------------------------ |
| Any authenticated user      | GET AI Check, List AI Checks, GET Quality Profile, List Quality Profiles |
| **ADMIN** or **OWNER** role | Evaluate segments, Create, Update, Delete AI Check and Quality Profile   |

Requests to restricted endpoints made by users without the required role will receive a `403 Forbidden` response.
