curl --request PATCH \
--url https://api.rask.ai/v3/projects/{project_id}/translation-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"glossary_id": "e3b8d1f5-4a2c-4e9d-8b7f-2c6a0d1e9f38"
}
'{
"object": "translation_settings",
"id": "6f1c2b7e-8a4d-4e3f-9b5c-1d0a7e2f3c58",
"translation_instructions": "Use the informal tu form.",
"glossary": {
"id": "e3b8d1f5-4a2c-4e9d-8b7f-2c6a0d1e9f38",
"applied_version": 3,
"latest_version": 3,
"outdated": false
},
"etag": "\"ts-1c7e3a9f5b2d4e68\""
}Transcript
Update translation instructions or glossary
Sets or clears translation_instructions and glossary_id.
PATCH
/
projects
/
{project_id}
/
translation-settings
curl --request PATCH \
--url https://api.rask.ai/v3/projects/{project_id}/translation-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"glossary_id": "e3b8d1f5-4a2c-4e9d-8b7f-2c6a0d1e9f38"
}
'{
"object": "translation_settings",
"id": "6f1c2b7e-8a4d-4e3f-9b5c-1d0a7e2f3c58",
"translation_instructions": "Use the informal tu form.",
"glossary": {
"id": "e3b8d1f5-4a2c-4e9d-8b7f-2c6a0d1e9f38",
"applied_version": 3,
"latest_version": 3,
"outdated": false
},
"etag": "\"ts-1c7e3a9f5b2d4e68\""
}Re-sending the same glossary id applies its latest version. It never retranslates: call retranslateSegments to apply the settings to existing segments.
When to use: to change how future translations are made.
Side effects: Future translations use the new settings; existing translations are unchanged.
Cost: Free.
Idempotency:
Idempotency-Key accepted (SDKs send one); retries within 24 h replay the first response.
Concurrency: If-Match with the translation settings ETag is optional; a stale value fails with 412.
Plan: non-empty translation_instructions -> translation_instructions; non-empty glossary_id -> glossary.
Required scopes: transcripts:write
Errors: glossary_not_found (404), glossary_language_mismatch (422), feature_not_in_plan (403)Authorizations
Headers
Path Parameters
Body
application/json
Changes apply to future translations only: call retranslateSegments to apply them.
Response
OK: TranslationSettings.
A project's translation settings. Changing them never retranslates: call retranslateSegments.