Create Project
POST
/api/upload/projects
const url = 'https://example.com/api/upload/projects';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","source_language":"example","continuous":false,"deadline":"example","workflow_key":"example","workflow_id":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/upload/projects \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "source_language": "example", "continuous": false, "deadline": "example", "workflow_key": "example", "workflow_id": 1 }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
CreateProjectRequest
object
source_language
required
Source Language
Source language code (any variant, normalized server-side)
string
continuous
Continuous
Whether the project uses continuous mode
boolean
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
CreateProjectResponse
Response for POST /api/upload/projects.
object
project_id
required
Project Id
Canonical external string ID for the project (UUID-like)
string
name
required
Name
Project display name
string
source_language
required
Source Language
Normalized ISO language code for the project source
string
continuous
required
Continuous
Whether the project uses continuous mode
boolean
Example
{ "continuous": false, "name": "Marketing Brochure", "project_id": "a3f1d4c2-9b85-4b0e-8e32-2b7a9e0c1fcd", "source_language": "eng"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}