POST
/
v2
/
projects
Create a Project
curl --request POST \
  --url https://api.lilt.com/v2/projects \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My new project",
  "memory_id": 1234,
  "job_id": 1234,
  "due_date": 1489147692,
  "metadata": {
    "connectorType": "github",
    "notes": "example metadata"
  },
  "workflowTemplateId": 14,
  "workflow_template_name": "Translate > Review",
  "llm_provider": "neural",
  "external_model_id": 111,
  "is_plural": false,
  "require_batch_qa_translator": false,
  "enable_prompt_labeling": false,
  "job_type": "TRANSLATION",
  "additional_guidelines": "Provide consistent style across all chapters.",
  "is_enhanced_human_ai_optimized": false,
  "domainId": 234
}'
{
  "id": 448,
  "memory_id": 1234,
  "job_id": 1234,
  "srclang": "en",
  "trglang": "fr",
  "srclocale": "US",
  "trglocale": "FR",
  "name": "My New Project",
  "state": "backlog",
  "due_date": 1489147692,
  "archived": false,
  "metadata": {
    "connectorType": "github",
    "notes": "example metadata"
  },
  "sample_review_percentage": 20,
  "created_at": 1489147692,
  "updated_at": 1489147692,
  "workflowStatus": "READY_TO_START",
  "document": [
    {
      "id": 46530,
      "project_id": 287,
      "srclang": "en",
      "trglang": "de",
      "name": "Introduction.xliff",
      "import_in_progress": false,
      "import_succeeded": false,
      "import_error_message": "Could not parse XML.",
      "export_in_progress": false,
      "export_succeeded": false,
      "export_error_message": "Could not parse XML.",
      "is_pretranslating": false,
      "status": {
        "pretranslation": "idle"
      },
      "translator_email": "translator@example.com",
      "reviewer_email": "reviewer@example.com",
      "customer_reviewer_email": "reviewer@example.com",
      "created_at": 1489147692,
      "updated_at": 1489147692,
      "is_review_complete": true
    }
  ]
}

Authorizations

key
string
query
required

Body

application/json

The Project resource to create.

The body is of type object.

Response

200
application/json

A Project object.

A Project is a collection of zero or more Documents. It 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.