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
For each of the given Drive files, how many of the project’s tasks run on it, with the file’s name. Files with no tasks you can see are left out. In Personal view only your tasks count.
Permission: task:read. An API key acts with the role of the member who created it.
Path Parameters
Project id.
Query Parameters
Comma-separated Drive file ids, at most 200.
personal: count only tasks you created or are assigned to. Always on for roles restricted to their own work.
Responses
200The files with tasks, and how many.
Each asked file that has tasks in the project.
Show child attributes
The Drive file.
Its name; null when the file was deleted.
The project’s tasks on it that you can see.
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/by-file?assetIds=&scope=org' \
--header 'x-api-key: YOUR_API_KEY'{
"files": [
{
"assetId": "3ad094a0-4b21-4cf3-a789-dd9bad5fa27e",
"name": "settings-strings.json",
"tasks": 3
}
]
}