GET
/
v2
/
translate
/
file
Monitor file translation
curl --request GET \
  --url https://api.lilt.com/v2/translate/file
[
  {
    "id": 1,
    "fileId": "2,",
    "status": "InProgress",
    "createdAt": 1609357135
  }
]

Authorizations

key
string
query
required

Query Parameters

translationIds
string

List of translation ids, comma separated

status
string

One of the translation statuses - InProgress, Completed, Failed, ReadyForDownload

fromTime
number

Results after this time (inclusive) will be returned, specified as seconds since the Unix epoch.

toTime
number

Results before this time (exclusive) will be returned, specified as seconds since the Unix epoch.

Response

Translation Info

List of TranslationInfo objects

id
integer

Unique identifier for this translation.

fileId
integer

id of the File that is being translated.

status
string

Status of the translation - InProgress, ReadyForDownload, Completed, Failed.

createdAt
integer

Time when this translation was started, in seconds since the Unix epoch.

errorMsg
string

Error message, present when status is Failed.