> ## 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 uses LLMs to automatically assess translation quality against
requirements you define — in plain language, not fixed rule sets. It scales the kind of
review a human linguist would do: check tone, terminology, formatting, and custom
requirements across any volume of segments.

Quality requirements are managed as Style Guide Rules attached to a **Content Group**.
Link evaluation to the Content Group and the API resolves its active Rules into AI Checks
automatically — no separate profile to create or keep in sync.

### Key Features

* **Content Group integration**: Quality requirements stay in sync with Style Guide Rules
  without manual profile maintenance
* **AI Checks**: Rules are resolved into checks defined in natural language (e.g.,
  "Translation must not use Yoda-style speech")
* **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-latest.json" />

### Quick Start

1. **Attach Style Guide Rules** to your Content Group (with AI Check support enabled)
2. **Evaluate segments** by referencing the Content Group — checks are resolved automatically

```bash theme={null}
# Example: Evaluate segments against a Content Group's resolved AI Checks
curl -X POST "https://eu.phrase.com/quality-evaluator/v3/evaluation" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "contentGroupId": "cg-abc123",
    "segments": [
      {
        "id": "seg-1",
        "source": "Hello, world!",
        "target": "Hallo, Welt!"
      }
    ],
    "sourceLocaleCode": "en_us",
    "targetLocaleCode": "de_de"
  }'
```
