Skip to main content
POST
Creates an empty project whose state is DRAFT. It does not start any processing — you set the draft, then upload a source.
string
required
API key for authentication.
string
required
Unique per operation: 16–64 printable ASCII characters. Same key with the same body replays safely; same key with a different body is rejected with 47111.

Body

string
required
Project name: non-empty after trimming, at most 120 code points.
string
Optional. null, an empty string or AUTO means automatic detection; otherwise a language key from capabilities.languages.
array
Optional initial target languages. May be empty; the selection can be changed later with PATCH /draft.

Response

string
Stable project identifier.
string
DRAFT right after creation.
number
The current draft version. Pass it as expectedVersion / settingsVersion in later calls to detect concurrent changes.
A replay re-reads the current project; the response may reflect later state than the first call. Keep projectId as the anchor.

Common errors

  • code = 47101: the name is missing, empty or too long.
  • code = 47111: the Idempotency-Key was reused with a different body.
  • code = 47122: temporarily unavailable — retry with backoff.