curl --request PATCH \
--url https://api.studio.us.phrase.com/v1/projects/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"translationModelName": "plai",
"translationMemoryId": "tm-uid-123",
"mtProfileId": "mt-profile-uid-456"
}
'Update Project
Update the settings of a project: the models for translation and insights, the machine translation profile and translation memory, the text-to-speech engine, and the sharing visibility. Which of the machine translation profile and the translation memory apply depends on the translation model, as in Studio: plai (Phrase Language AI) takes both, chosen by you; aita (AI Translation Agent) takes a translation memory, and Studio chooses its machine translation profile; gpt-5-mini and gpt-4o-mini take neither. Changing the model keeps the settings that still apply and clears the ones that do not; sending a setting that does not apply is refused with 400. For aita Studio looks up the machine translation profile in your Phrase TMS connection and answers 400 when there is none. The model types follow from the models and are not sent. The endpoint is partial: only fields present in the body are written, so a single field can be changed without resending the rest. Authorization is restricted to the project owner and other accounts in the same organization.
The same call renames the project with name. Updating the settings or renaming is for the owner of the project and managers of the organization; for anyone else the answer is 404.
curl --request PATCH \
--url https://api.studio.us.phrase.com/v1/projects/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"translationModelName": "plai",
"translationMemoryId": "tm-uid-123",
"mtProfileId": "mt-profile-uid-456"
}
'Authorizations
Body
Partial update payload for project preferences and visibility. Only fields present in the body are applied; omitted fields are preserved. The model types of Studio (insightsModelType, translationModelType) follow from the model names and cannot be set: they are accepted and ignored.
Model that translates. aita is the AI Translation Agent (best quality), plai is Phrase Language AI, the two GPT models are the fast ones. Which of the machine translation profile and the translation memory apply depends on the translation model, as in Studio: plai (Phrase Language AI) takes both, chosen by you; aita (AI Translation Agent) takes a translation memory, and Studio chooses its machine translation profile; gpt-5-mini and gpt-4o-mini take neither. Changing the model also changes the type.
aita, plai, gpt-5-mini, gpt-4o-mini Text-to-speech provider for dubbing. Some engines are switched on or off per organization: GET /v1/tts/engines lists the ones you can use, and an engine that is not available to your organization is refused with 400.
eleven_v2, eleven_v3, eleven_v4, eleven_v4_turbo, azure_tts, voiseed, gemini_2_5_flash_tts Phrase TMS machine translation profile uid, for the translation model plai only. Get it from the Phrase TMS API (machine translate profiles); Studio has no endpoint that lists it. An empty string is refused with 400. For aita Studio chooses the profile itself (the first one of your Phrase TMS connection, or the one already set while it still exists), so do not send it; a GPT model has none. Sending it for any other model is refused with 400.
Phrase TMS translation memory uid, for the translation models plai and aita. Get it from the Phrase TMS API (translation memories); Studio has no endpoint that lists it. An empty string is refused with 400. Changing to a GPT model removes it; setting it while the model is a GPT model is refused with 400.
Response
Project updated successfully
Was this page helpful?