Skip to main content

Phrase BYO Engine API

Machine translation powered by Phrase allows the translation of content using a unique AI powered feature to pick the best available translation engine for that content. By implementing the following API it is possible to integrate custom machine translation engine directly into Phrase Language AI. A minimal BYO Engine machine translation API specification. It supports the following operations and features:

Dynamic Metadata

Phrase automatically resolves the following placeholders in request-level metadata values before sending them to the engine:
PlaceholderResolved value
{project_uid}TMS project UID
{job_uid}TMS job UID
{idm_organization_uid}Phrase organization UID
These can be used to pass contextual information about the translation job to your engine without any additional integration work.

Authentication

For authentication either the OAuth client credentials flow or an API token can be leveraged. For the asynchronous endpoints please ensure thread safety and proper concurrency handling so that multiple request do not accidentally overwrite each other’s data.