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
Run several tasks again
Run chosen tasks of the project again, each exactly as Run a task again with no changes: its last workflow, its own file and languages. Tasks start one after the other, each charged as it starts. A task that can’t start is listed under skipped with the reason (its run is still going, it has no file…); once the balance runs out, the rest are skipped.
Permission: task:update and cosmos:execute. An API key acts with the role of the member who created it.
Path Parameters
Project id.
Bodyrequiredapplication/json
Tasks of the project to run again, each exactly as Run again with no changes: its last workflow, its own file and languages.
Responses
200OK
Show child attributes
The new run. Its progress is at GET /v1/cosmos/executions/{id}.
Show child attributes
Why it didn’t start, in plain words.
400Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).
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.
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`Project not found`: no such project in your organization, 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.
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/project/3ad094a0-4b21-4cf3-a789-dd9bad5fa27e/tasks/run' \
--request POST \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"taskIds": [
"7c6b5a4f-3e2d-4c1b-9a0f-8e7d6c5b4a3f"
]
}'{
"started": [
{
"taskId": "7c6b5a4f-3e2d-4c1b-9a0f-8e7d6c5b4a3f",
"executionId": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b"
}
],
"skipped": [
{
"taskId": "7c6b5a4f-3e2d-4c1b-9a0f-8e7d6c5b4a3f",
"title": "brochure.pdf",
"reason": "Its run is still going."
}
]
}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