v10

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-242047102.4 KB
Machine Translation Provider

Translate

Translates the content (text provided in the format specified in the descriptor). This request has a read timeout of 2 minutes.

post/lc.mtprovider.translate

Headers

TR_IDstring

A trace id, to help track problems. If it's not received, an auto-generated value will be used for logging. TR_ID header should also be set on the response.

x-lc-signaturestring

JWS token containing the signature and additional claims.

X-LC-AppVersionstring

The app version

X-LC-ExtensionPointVersionstring

The extension point version

X-LC-ExtensionIdstring

The extension identifier

Request body

engineIdstring required

The translation engine identifier provided by the app.

projectIdstring

The identifier of the project that uses the app extension.

sourceFileIdstring

The identifier of the associated source file.

targetFileIdstring

The identifier of the associated target file.

Response