Skip to main content
PATCH
Update machine translation settings

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Path Parameters

account_id
string
required

Account ID

Body

application/json
default_service
string | null

The machine translation engine to use as the account default. Supported values: language_ai_translate, aita_translate, microsoft_translate, google_translate, amazon_translate, intento_translate, gpt_translate. Pass null or an empty string to reset to the plan default.

Example:

"google_translate"

Response

OK

default_service
string | null

The default machine translation engine configured for the account. Returns "microsoft_translate" when no service has been explicitly configured. Supported values: language_ai_translate, aita_translate, microsoft_translate, google_translate, amazon_translate, intento_translate, gpt_translate.

Example:

"google_translate"

machine_translation_units_used
integer

Number of machine translation characters consumed in the current billing period.

Example:

12500

machine_translation_units_total
integer

Total machine translation character quota granted for the current billing period.

Example:

1000000

locale_provider_mappings
object[]

Per-locale-pair provider overrides. When a matching mapping exists for a source/target locale pair, that provider takes precedence over the account default.