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",
"jobInstructions": "Please maintain consistent terminology and use formal tone.",
"customProperties": {
"purchaseOrder": "PO-12345",
"department": "Marketing",
"priority": "high"
},
"enablePostProcessing": true,
"languagePairs": [
{
"memoryId": 3121,
"trgLang": "de",
"instructions": "Use formal German (Sie form)"
},
{
"memoryId": 2508,
"trgLang": "fr",
"instructions": "Use informal French (tu form)"
},
{ "memoryId": 3037, "trgLang": "zh" }
]
}'
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
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.
[298, 299]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
Instructions for the job that apply to all projects. These instructions provide guidance to translators and reviewers working on this job. Maximum length: 5000 characters.
5000"Please maintain consistent terminology throughout all translations. Use the company style guide."
Custom properties as key-value pairs where both keys and values must be strings. Use this to store metadata or custom fields specific to your workflow (e.g., purchase orders, department codes, project identifiers).
{
"purchaseOrder": "PO-12345",
"department": "Marketing",
"priority": "high",
"costCenter": "CC-789"
}Enable post-processing options for this job. When true, additional processing steps will be applied after translation completion.
true
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.