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
Who has what on a project: for each person — its members (leads first) and anyone assigned work in it — and for the tasks nobody has, the tasks in each status (byStatus, finished ones included), how many are finished (done, in a Done or Closed status), and the open, overdue, undated and waiting tasks, open checklist items, weekly capacity and work finished in the last 7 days. q narrows the tasks counted. In Personal view only your own tasks count.
Permission: task:read. An API key acts with the role of the member who created it.
Path Parameters
Project id.
Query Parameters
Count only tasks whose title contains this (any case).
Count only the tasks on this Drive file (the file a task runs on).
personal: only tasks you created or are assigned to. Always on for roles restricted to their own work.
Responses
200OK
Everyone on the project, and anyone assigned work in it, leads first.
Show child attributes
Open tasks they are assigned.
Of those, due before today.
Of those, with neither a start nor a due date.
Of those, with a workflow run stopped at an approval or another step waiting for a person.
Organization member id.
Their role on the project, or null for someone assigned work without being a member.
Open tasks they can carry in a week on this project, or null when not set.
Show child attributes
Open checklist items assigned to them.
Of those, due before today.
Tasks they are assigned that reached a done status in the last 7 days.
Tasks in each status, by status id (finished ones included).
Of their tasks, those in a Done or Closed status.
Open tasks whose dates fall in the current week (Monday to Sunday) — what a weekly capacity is measured against.
Show child attributes
Open tasks they are assigned.
Of those, due before today.
Of those, with neither a start nor a due date.
Of those, with a workflow run stopped at an approval or another step waiting for a person.
Tasks in each status, by status id (finished ones included).
Of the tasks nobody has, those in a Done or Closed status.
Open tasks whose dates fall in the current week (Monday to Sunday) — what a weekly capacity is measured against.
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/workload?q=brochure&file=3ad094a0-4b21-4cf3-a789-dd9bad5fa27e&scope=org' \
--header 'x-api-key: YOUR_API_KEY'{
"people": [
{
"open": 7,
"overdue": 1,
"unscheduled": 2,
"awaitingAction": 1,
"memberId": "4ba70b2f-d541-4f46-8b41-d1bdf23ccd51",
"name": "Priya Shah",
"email": "priya@acme.com",
"image": null,
"role": "member",
"weeklyCapacity": 6,
"checklist": {
"open": 4,
"overdue": 1
},
"doneLast7Days": 3,
"byStatus": {
"H9UQxTGsGLyP40zMAvAzV": 4,
"cos:sys:processed": 9
},
"done": 9,
"thisWeek": 4
}
],
"unassigned": {
"open": 7,
"overdue": 1,
"unscheduled": 2,
"awaitingAction": 1,
"byStatus": {
"H9UQxTGsGLyP40zMAvAzV": 4,
"cos:sys:processed": 9
},
"done": 2,
"thisWeek": 4
}
}