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
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
List tasks
Create a task
List my work
Search tasks
Get the schedule
Get a task
Get the team’s workload
Update a task
Open a task’s file
Set a task’s file
Move a task
Get a task’s linked process
Count tasks per file
Link a process to a task
Task statuses
Get task statuses
The statuses (in four groups: not started, active, done, closed) and priorities a project’s tasks use.
Permission: task:read. An API key acts with the role of the member who created it.
Path Parameters
Project id.
Responses
200Statuses and priorities.
The project’s task template id.
Statuses by group, in board order.
Show child attributes
Not started.
Show child attributes
Name.
Colour as hex.
Status id. Omit it for a new status.
Set on read. cosmos_step and cosmos_system statuses come from the project’s workflow: tasks move through them as their runs progress, and only their name and colour can change. Ignored when sent.
Set on read, for a cosmos_step status: the workflow step it stands for. Ignored when sent.
In progress.
Show child attributes
Name.
Colour as hex.
Status id. Omit it for a new status.
Set on read. cosmos_step and cosmos_system statuses come from the project’s workflow: tasks move through them as their runs progress, and only their name and colour can change. Ignored when sent.
Set on read, for a cosmos_step status: the workflow step it stands for. Ignored when sent.
Done.
Show child attributes
Name.
Colour as hex.
Status id. Omit it for a new status.
Set on read. cosmos_step and cosmos_system statuses come from the project’s workflow: tasks move through them as their runs progress, and only their name and colour can change. Ignored when sent.
Set on read, for a cosmos_step status: the workflow step it stands for. Ignored when sent.
Closed (cancelled).
Show child attributes
Name.
Colour as hex.
Status id. Omit it for a new status.
Set on read. cosmos_step and cosmos_system statuses come from the project’s workflow: tasks move through them as their runs progress, and only their name and colour can change. Ignored when sent.
Set on read, for a cosmos_step status: the workflow step it stands for. Ignored when sent.
Priorities, highest first.
Show child attributes
Name.
Colour as hex.
Status id. Omit it for a new status.
Set on read. cosmos_step and cosmos_system statuses come from the project’s workflow: tasks move through them as their runs progress, and only their name and colour can change. Ignored when sent.
Set on read, for a cosmos_step status: the workflow step it stands for. Ignored when sent.
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/task-statuses' \
--header 'x-api-key: YOUR_API_KEY'{
"id": "cc0bcadc-d8a0-4047-9d6a-729572027ea7",
"status": {
"NOT_STARTED": [
{
"id": "H9UQxTGsGLyP40zMAvAzV",
"name": "Client review",
"color": "#8b5cf6",
"source": "cosmos_step",
"nodeId": "string"
}
],
"ACTIVE": [
{
"id": "H9UQxTGsGLyP40zMAvAzV",
"name": "Client review",
"color": "#8b5cf6",
"source": "cosmos_step",
"nodeId": "string"
}
],
"DONE": [
{
"id": "H9UQxTGsGLyP40zMAvAzV",
"name": "Client review",
"color": "#8b5cf6",
"source": "cosmos_step",
"nodeId": "string"
}
],
"CLOSED": [
{
"id": "H9UQxTGsGLyP40zMAvAzV",
"name": "Client review",
"color": "#8b5cf6",
"source": "cosmos_step",
"nodeId": "string"
}
]
},
"priority": [
{
"id": "H9UQxTGsGLyP40zMAvAzV",
"name": "Client review",
"color": "#8b5cf6",
"source": "cosmos_step",
"nodeId": "string"
}
]
}