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

# Introduction

export const DownloadOpenApiCard = ({url}) => {
  return <Card title="Full API Schema" href={url} target="_blank" horizontal>
      Explore the raw schema to see all endpoints in one place. Perfect for tools and integration setup.
    </Card>;
};

## Quality Evaluator API Reference 1.0.0

The Quality Evaluator API enables you to automatically assess translation quality using AI-powered checks. Define custom quality requirements, organize them into reusable profiles, and evaluate translation segments at scale.

### Key Features

* **AI Checks**: Create custom checks with natural language quality requirements (e.g., "Translation must not use Yoda-style speech")
* **Quality Profiles**: Group up to 3 AI Checks into reusable profiles for consistent evaluation
* **Analytics**: Track evaluation metrics and AI unit consumption over time

### Base URLs

The Quality Evaluator API is available in multiple regions:

| Region | Base URL                                  |
| ------ | ----------------------------------------- |
| EU     | `https://eu.phrase.com/quality-evaluator` |
| US     | `https://us.phrase.com/quality-evaluator` |

<DownloadOpenApiCard url="https://developers.phrase.com/public/assets/openapi/phrase-quality-evaluator.json" />

### Quick Start

1. **Create an AI Check** with your quality requirements
2. **Create a Quality Profile** containing your AI Checks
3. **Evaluate segments** using the profile

```bash theme={null}
# Example: Evaluate segments using a Quality Profile
curl -X POST "https://eu.phrase.com/quality-evaluator/v2/evaluation" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "qualityProfileUid": "your-profile-uid",
    "segments": [
      {
        "source": "Hello, world!",
        "target": "Hallo, Welt!"
      }
    ],
    "sourceLocaleCode": "en_us",
    "targetLocaleCode": "de_de"
  }'
```
