---
title: "Edit Auto-Translation"
method: PATCH
path: "/projects/{projectId}/pre-translations/{jobIdentifier}"
tags: ["Translations"]
---

# Edit Auto-Translation

`PATCH /projects/{projectId}/pre-translations/{jobIdentifier}`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/projects/{projectId}/pre-translations/{jobIdentifier}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-api-v2/docs/projects/:projectId/pre-translations/:jobIdentifier/patch.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `project.translation` (Read and Write).

## Path parameters

- `projectId` integer, required
- `jobIdentifier` string, required

## Request body

- PreTranslationOperation[]
  - `op` 'replace' | 'test', required: Patch operation to perform
  - `path` '/status' | '/priority', json-pointer, required: A JSON Pointer as defined by <a href="https://tools.ietf.org/html/rfc6901" target="_blank">RFC 6901</a>

## Response `200`

Auto-translation was successfully updated

- CrowdinPreTranslationResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` CrowdinPreTranslation, required
    - `identifier` string
    - `status` 'created' | 'in_progress' | 'canceled' | 'failed' | 'finished'
    - `progress` integer: in percentages
    - `attributes` CrowdinPreTranslateAttributes
      - `languageIds` string[]
      - `branchIds` integer[]
      - `taskId` integer: ID of the task the auto-translation was applied to. Present only when the auto-translation was requested by `taskId`
      - `method` string
      - `autoApproveOption` string
      - `duplicateTranslations` boolean
      - `skipApprovedTranslations` boolean
      - `translateUntranslatedOnly` boolean: **Deprecated.** Reflects the legacy value sent in the request (defaults to `true` when not provided). New integrations should rely on `scope` instead.
      - `scope` 'untranslated' | 'translated' | 'all'
      - `translationModifiedBefore` string, date-time, nullable
      - `translationModifiedAfter` string, date-time, nullable
      - `replaceTranslationsOption` 'none' | 'autoTranslated' | 'all'
      - `resetApprovalStatus` boolean
      - `translateWithPerfectMatchOnly` boolean
      - `priority` 'low' | 'normal' | 'high'
      - `notifyOnCompletion` boolean
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `startedAt` string, date-time
    - `finishedAt` string, date-time

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Project or auto-translation with specified id was not found
- `405`: Method Not Allowed
- `422`: Unprocessable Entity
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crowdin/apis/crowdin-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-api-v2/revisions/27aae7751699?raw)
