Create a Job
Create a Job. A Job is a collection of Projects. A Job will contain multiple projects, based on the language pair. A Project is associated with exactly one Memory.
Jobs appear in the Jobs dashboard of the web app.
Example CURL command:
curl -X POST 'https://api.lilt.com/v2/jobs?key=API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "test job",
"fileIds": [5009, 5010, 5011],
"due": "2022-05-05T10:56:44.985Z",
"srcLang": "en",
"srcLocale": "US",
"languagePairs": [
{ "memoryId": 3121, "trgLang": "de" },
{ "memoryId": 2508, "trgLang": "fr" },
{ "memoryId": 3037, "trgLang": "zh" }
]
}'
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
The Job resource to create.
A name for the Job.
"My new Job"
Language pairs is a set of one or more pairs that includes source language, source locale(optional), target language, target locale(optional), and memoryId.
A list of file ids to upload to job creation.
2-letter ISO source language code
"en"
2-letter source language code
"US"
An ISO string date representing job due date.
"2021-10-05T14:48:00.000Z"
A boolean value representing if the files have plurals.
true
ID of the workflow template to be used. Use the workflows templates endpoint to get the list of available workflows.
ID of the domain to be used. Use the domains endpoint to get the list of available domains.
1
When set to true, the Job enters AWAITING_QUOTE status after creation. Documents are created, but translation does not start and auto-assignment is suppressed until a quote is approved.
A PM creates a manual estimate, and the same user associated with the API key used to create the Job will receive the approval notification email and can approve or reject the quote. Alternatively, anyone in a Customer, Manager, or Admin role can approve or reject the quote.
Job status flow: Job created → Awaiting Quote → Awaiting Quote Approval → In Progress.
true
Response
A Job object.
A Job is a collection of multiple Projects. Each project is specific to a language pair, and is associated with exactly one Memory for that language pair. The Memory association cannot be changed after the Project is created.
A name for the job.
"My New Job"
Status of job creation process that includes PENDING, COMPLETE, and FAILED.
"COMPLETE"
"2021-06-03T13:43:00Z"
Current status of job that includes archived, delivered, and active.
"active"
An ISO string date.
"2021-06-03T13:43:00Z"
An id for the job.
241
Values include 1 while in progress, 0 when idle and -2 when processing failed.
0
A job stats shows an overview of job's statistical data including total number of exact words, fuzzy words, language pairs, projects, etc.
Domains associated with this Job. Returned on the GET /v2/jobs/{jobId} response so callers can drive domain-specific behaviour (e.g. quality thresholds) without falling back to BigQuery.

