AI
AI File Translations
Required scopes: ai.translate (Read and Write).
post/ai/file-translations
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"storageId": 123,
"sourceLanguageId": "en",
"targetLanguageId": "uk",
"type": "xliff",
"parserVersion": 1,
"tmIds": [
123
],
"glossaryIds": [
456
],
"styleGuideIds": [
654
],
"aiPromptId": 789,
"aiProviderId": 12,
"aiModelId": "gpt-4.1",
"instructions": [
"Keep a formal tone"
],
"attachmentIds": [
123
]
}Response
AI File Translations job created successfully
Example response
{
"data": {
"identifier": "50fb3506-4127-4ba8-8296-f97dc7e3e0c3",
"status": "finished",
"progress": 100,
"attributes": {
"stage": "translate",
"error": {
"stage": "import",
"message": "Failed to parse file"
},
"downloadName": "file.pdf",
"sourceLanguageId": "en",
"targetLanguageId": "uk",
"originalFileName": "Sample_Chrome.json",
"detectedType": "chrome",
"parserVersion": 2
},
"createdAt": "2026-01-23T11:26:54+00:00",
"updatedAt": "2026-01-23T11:26:54+00:00",
"startedAt": "2026-01-23T11:26:54+00:00",
"finishedAt": "2026-01-23T11:26:54+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.