Projects API
Download OpenAPI DocumentProjects with their files, filed jobs, workflow and fields, batch runs, tasks, checklists and people.
List projects
Create a project
Get a project
Update a project
Move a project
List project members
Add project members
Update a project member
Workflow
- PUT/v1/project/{id}/workflow
- GET/v1/project/{id}/workflow/changes
- POST/v1/project/{id}/workflow/sync
- PUT/v1/project/{id}/step-owners
- PUT/v1/project/{id}/workflow/default
- PUT/v1/project/{id}/run-outcomes
- PUT/v1/project/{id}/step-checklists
- PUT/v1/project/{id}/step-modes
- PUT/v1/project/{id}/assignment-rules
- PUT/v1/project/{id}/language-links
- PUT/v1/project/{id}/workflow-languages
Attach a workflow
Preview workflow changes
Sync the workflow
Set step owners
Set the default workflow
Set run outcome statuses
Set step checklists
Set step modes
Set assignment rules
Set language mapping
Set workflow languages
Get project fields
Set project field values
Override field values on a task
Replace custom fields
Batches
- POST/v1/project/{id}/batches/preview
- POST/v1/project/{id}/batches
- GET/v1/project/{id}/batches
- GET/v1/project/{id}/batches/{batchId}
- GET/v1/task/{id}/run
- POST/v1/task/{id}/run
- POST/v1/project/{id}/tasks/run
- GET/v1/project-runs/mine
- POST/v1/task/{id}/run/deliverables
- GET/v1/task/{id}/step-assignment
- GET/v1/project-runs/summary
- PUT/v1/task/{id}/step-assignment
- POST/v1/task/{id}/step-assignment/auto
- GET/v1/project/{projectId}/pickable-people
- POST/v1/task/{id}/step-assignment/pass
- POST/v1/project/{projectId}/tasks/assign/preview
- POST/v1/project/{projectId}/tasks/assign
- GET/v1/task-pool
- POST/v1/task-pool/{id}/claim
Preview a batch
Start a batch
List batches
Get a batch
Get a task’s run
Run a task again
Start a new run on a task’s file — after its run failed or couldn’t start, or to redo it — with the workflow you pick (the one it last ran, by default) and any values changed for this run. The new run joins the task’s history; the old ones stay.
Permission: task:update and cosmos:execute. An API key acts with the role of the member who created it.
Path Parameters
Task id.
Bodyrequiredapplication/json
Which of the project’s attached workflows to run. Left out: the one the task last ran, else the default.
Values for this run only, on top of the project’s fields (and each task’s overrides), by field key: a run input (<nodeId>__<fieldKey>) or a step setting the workflow’s builder fixed (keyed the same way). Not saved on the project. The per-file input can’t be set here.
Source language for this run; it becomes the task’s. Left out: the task’s own.
Target language for this run; it becomes the task’s. Left out: the task’s own.
Responses
200OK
The new run. Its progress is at GET /v1/cosmos/executions/{id}.
400The task has no file, its file was deleted, the project has no per-file workflow, or required fields are missing.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
402`InsufficientCredits`: the balance doesn’t cover the run’s paid steps.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
404`Task not found`: no such task, or it is hidden from you.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
409The task’s run is still going, or the workflow was edited and needs a sync.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl '{{API_BASE_URL}}/v1/task/8abfec8a-beeb-4122-9544-cee77dc091d5/run' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"flowId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"values": {
"n_4f2a9c1d__targetLanguage": "de-DE"
},
"sourceLanguage": "en-US",
"targetLanguage": "de-DE"
}'{
"taskId": "7c6b5a4f-3e2d-4c1b-9a0f-8e7d6c5b4a3f",
"executionId": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b"
}Run several tasks again
List runs that need me
File a run’s results again
Get a task’s step assignment
Summarize runs
Reassign a task’s step
Assign a task’s step automatically again
List who can take work
Pass a task’s step on
Preview a bulk assignment
Assign tasks in bulk
List work to claim
Claim a task from the pool
Get project file totals
List linked directories
Link an Assets directory or file
List a linked directory’s files
Processes
List processes in a project
Find a process in any project
Tasks
- GET/v1/project/{projectId}/tasks
- POST/v1/project/{projectId}/tasks
- GET/v1/task/mine
- GET/v1/task/search
- GET/v1/project/{projectId}/schedule
- GET/v1/task/{id}
- GET/v1/project/{projectId}/workload
- PATCH/v1/task/{id}
- GET/v1/task/{id}/file
- PUT/v1/task/{id}/file
- POST/v1/task/{id}/move
- GET/v1/task/{id}/process
- GET/v1/project/{projectId}/tasks/by-file
- PUT/v1/task/{id}/process