Skip to content

Create Project

POST
/api/upload/projects
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 }'
Media typeapplication/json
CreateProjectRequest
object
name
Any of:
string
source_language
required
Source Language

Source language code (any variant, normalized server-side)

string
continuous
Continuous

Whether the project uses continuous mode

boolean
deadline
Any of:
string
workflow_key
Any of:
string
workflow_id
Any of:
integer

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
deadline
Any of:
string
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>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}