PUT
/v2/projects/{projectId}/languages/{languageId}/ai-prompt-customizationUpdate a language AI prompt customization
Updates the AI prompt customization for a language in a project. Set description to provide language-specific context for AI translations; the value can contain up to 2000 characters. The response includes the language and its prompt customization.
languageIdintegerrequired
The integer identifier of the language whose prompt customization to update.
projectIdintegerrequired
The integer identifier of the project containing the language.
Language-specific prompt customization for AI translations.
descriptionstringoptional
The language description used in the prompt that helps AI translator to fine tune results for specific language
200Returns the language and its prompt customization, including the description when set.
descriptionstringoptional
The language description used in the prompt that helps AI translator to fine tune results for specific language
languageobjectrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when you do not have permission to update the language prompt customization.
codestringrequired
paramsarray<object>optional
404Returned when the project or language is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid, a 401 when authentication is missing or invalid, a 403 when you lack permission, and a 404 when a referenced resource is not found. The projectId path parameter and languageId path parameter must identify the project and language to update; description must not exceed 2000 characters.