Projects
Group a client's work in one place — its files, the jobs you run for it, its tasks and checklists, and the people on it.
A project is one piece of client work. It has a folder in your drive for its files, it collects the jobs you run for it in any product (dubs, image translations, quality checks, workflow runs …), and it tracks the work with tasks, checklists and people.
Create the project
Call Create a project with a name. You become its first lead, and its folder Projects/<name>/ is created in your drive straight away. The response's driveFolderId is that folder. A description is rich text in HTML — what the Universe editor saves — and plain text works too; tasks' descriptions are the same.
Add its files
Upload into the project folder with the Assets API: use parentType=FOLDER and parentId=<driveFolderId>, or a sub-folder you create inside it. List assets with projectId lists the project folder; every place you list stays inside the project, and a global search covers the whole project.
File the jobs you run
Pass projectId when you start a job — for example a Video Dubbing job or a workflow run — or move an existing one with its product's project route. List processes in a project shows everything filed under it, newest first, with a count per kind.
Track the work
Create tasks, assign people with Add task members, and break a task down with checklists. Move a task forward by setting its status with Update a task. Each person sees their open tasks and checklist items with List my work.
Workflow and fields
Attach a published Cosmos workflow with Attach a workflow. Its run inputs become the project's fields: fill them once with Set project field values, and every run on the project starts with them. Values are stored under each input's run-input key — the same key a workflow's inputSchema gives (<nodeId>__<field>, or share__… for a shared input) — so a run's input is the project's values with nothing translated.
One file input varies per file: when the workflow runs on a folder, each file gets its own run and task with that input set to the file. With one file input it is picked for you; with several, send fanOutKey. It can't be set on the project.
Get project fields returns the fields in run order, the values, what is still missing, and ready once nothing required is. Add your own fields (text, number, date, dropdown, checkbox, link) with Replace custom fields; their values live under custom:<fieldId>. A task can override any value with Override field values on a task — a different translation memory for one file, say.
The project keeps a snapshot of the workflow it was built from. When the workflow is edited, workflow.outdated turns true: Preview workflow changes lists added, removed and changed fields, and Sync the workflow applies them (values of removed fields are cleared, on the project and its tasks). Once the workflow has runs filed in the project it can be synced but not swapped, or detached.
Step owners
Set step owners with { "owners": { "<nodeId>": ["<memberId>", …] } }, keyed by the nodeId of each entry in workflow.steps. Every run a batch starts gets them as the run's step owners — they are notified when their step finishes, or when an approval step waits for them — and a task is assigned to the owners of the step it is in: when it moves on, the previous step's owners come off and the next step's go on (source: cosmos_step on the task's members). People assigned by hand are never removed. The project's leads watch every task a batch creates, and get one notification when all of a batch's runs have finished.
Step checklists
Set step checklists gives steps a checklist, keyed the same way: { "checklists": { "<nodeId>": { "title": "Client QA", "items": ["Fonts match the brand kit", …], "blocksApproval": true } } }. When a task enters the step, the checklist is added to it — source: step, with the step's nodeId — every item assigned to the step's owners. It is added once per task and step, so a retried run keeps the ticks already made.
On an approval step, blocksApproval: true puts human QA in front of the sign-off: Approve a step answers 409 with the checklist's name and how many items are open, until every item is ticked. A checklist someone adds to the task by hand with blocksApproval holds every approval on that task the same way.
Run the workflow on a folder
A project's folder — or any folder inside it — can run the attached workflow once per file. Each file gets a task, named after the file, and its own run, which starts with the project's field values, then the task's overrides, then the file under the per-file input.
Preview a batch with { "folderId": "…" } (add "includeSubfolders": true for the whole tree). It creates nothing and spends nothing. It lists the files the workflow takes — in path order, with alreadyRan on files that ran in this project before — the skipped ones (wrong-type when the workflow's step doesn't take that kind of file, empty for a file with no content), the minimumCredits the balance must cover, any missing required fields, and blocked, the reason it can't start, or null.
Start a batch with the same body. It answers 202 with the batch: every task exists already, and the runs start in the background, a few at a time. Files that already ran are left out unless you send "rerun": true; each then gets a new run on its existing task. Send an Idempotency-Key header so a retried request returns the same batch instead of starting another.
Get a batch reports how many runs started and how many failed to start; its status ends as started, partial or failed. Each task's run holds its latest run's state — queued, running, awaiting_action (an approval step is waiting), completed, failed, cancelled, or start_failed with an error — and executionId is the run itself. A run that can't start fails only its own task: Run a task again starts a new run on the task's file, and earlier runs are kept.
When a run completes, its final files — outputs no later step takes as input — are filed in the project folder under Deliverables/<folder name> (just Deliverables for a batch on the project folder itself), as shortcuts to the files the steps saved, or copies when a step kept a file only in storage. The batch's deliverablesFolderId points there once the first file lands.
A batch takes at most 200 files, runs the workflow version the project is synced to (sync first when workflow.outdated is true), and checks before anything is created that you may run every step.
Runs that need you
List runs that need me gathers what is waiting on the caller across every project they can see. approvals are runs stopped at an approval step on a task assigned to them — a step's owners are assigned when the task reaches it — or in a project they lead, oldest wait first; each lists its waiting gates with the nodeId to approve or reject through the run's execution. failures are failed runs in projects they lead, newest first, while the workflow still owns the task. reason says which: assigned or lead.
For a dashboard, Summarize runs counts the same projects: runs waiting for an approval (awaitingMe of them for you), running, failed, completed in the last 7 days, and open tasks past due.
Who can see a project
visibility | Visible to |
|---|---|
members (the default) | The project's leads and members, and roles that manage every project (any role with project:delete). |
org | Everyone in your organization with project:read. |
A role restricted to its own work only ever sees projects it leads, belongs to, created, or has a task in — and inside them, only its own tasks. A project hidden from you answers 404, the same as one that doesn't exist.
Dates and times
A project's startDate and endDate, a task's startDate and endDate, and a checklist item's dueDate are either a whole day or a day and a time. A flag beside each says which: startHasTime, endHasTime or dueHasTime.
- A whole day is stored and returned at midnight UTC,
2026-10-24T00:00:00.000Z. Read itsYYYY-MM-DDas is, without converting it to a timezone. - A timed date is stored as the moment you send, e.g.
2026-10-24T15:30:00.000Z. Show it in the reader's own timezone.
When you write a date, the flag is optional: a date sent with a time of day (anything but midnight UTC) is timed, and one at midnight is a whole day. Send the flag to say so outright. endHasTime: false alone keeps a due date's day and drops its time; true keeps a midnight-UTC time.
A timed task or item is overdue the moment its time passes; a whole day once the day is over. The due filter on List tasks and the overdue counts everywhere follow that rule. Reminders follow it too: a whole day gets one the day before and one when it's overdue, a timed date one within its last hour and one when its time passes.
Statuses
A project's status is one of your organization's project statuses. Each project's tasks have their own statuses, which you read with Get task statuses and change with Replace task statuses. Statuses sit in four groups — not started, active, done and closed — and a task counts as completed when its status is in the done or closed group. List projects filters by a group (statusGroup) or one status (status), and always returns the counts for both — counts per group and countsByStatus per status — whatever the filter.
Statuses that follow the workflow
When a workflow is attached, each status group starts with statuses the workflow generates — source is cosmos_system or cosmos_step in Get task statuses:
| Group | Generated statuses |
|---|---|
| Not started | Pending — queued in a batch, run not started |
| Active | One per workflow step, in run order (an approval step included), then Failed |
| Done | Processed — the run completed |
| Closed | Cancelled — the run was cancelled |
A task with a run moves through them on its own: to the step its run is on (or the approval waiting for someone), then to Processed, Failed or Cancelled. Their ids are fixed — cos:sys:pending, cos:step:<nodeId>, cos:sys:failed, cos:sys:processed, cos:sys:cancelled — so they survive a sync. Your own statuses (a client review, delivered) follow them in each group.
Automation never overrides a person: it moves a task only while the task sits in a generated status. Move it to one of your own and it stays there. You can't move a task into a generated status — they are set by runs — and Replace task statuses can rename or recolour them but not remove them or change their group. A run cancelled in the Universe app moves the task to Cancelled. Detaching the workflow removes the generated statuses and moves their tasks to the first remaining status of the same group.
Order inside a status
Projects and tasks keep a manual order inside each status, the order people drag them into on a board or a list grouped by status. Lists sorted by status return it; each item's order is its position (ascending).
To move something, send the status it lands in and the item it lands right after: Move a project or Move a task with { "status": "…", "afterId": "…" }. Leave out afterId to put it first, and leave out status to reorder inside the current one. Status and position change together. Changing only the status with an update instead puts the item at the bottom of its new status. The projects order is shared by everyone in your organization.
Activity
List project activity is what happened in a project, newest first: changes to the project, its workflow, fields and batches, and to every task and checklist in it. List task activity is the same for one task. Each entry has the action, a readable summary, who did it (actor, null when a workflow run did it), when, the taskId it is about and, for an edit, the fields it changed. Narrow it with kind (project, tasks, checklists, workflow) or actor, and page with cursor — each page's nextCursor reads the next, older page. Anyone who can see the project can read its activity; your organization's full audit log stays with admins.
Analytics
Get project analytics tells you how a project is going over a period: 7d, 30d (the default) or 90d, each compared with the same length of time before it, or all time with nothing to compare. A metric is { current, previous }.
headline: open, completed and overdue tasks, the on-time rate (tasks done by their due date), the median cycle time (creation to completion, in hours), completed runs and their success rate, and files added and deliverables filed.progress: a burn-up (createdandcompletedper bucket), tasks per status now, due-date health (onTrack,atRiskwithin 2 days,overdue,noDueDate), the project's due date, aforecast(tasks done per week over the last 4 weeks, and when the open tasks would be done at that pace —daysLateagainst the due date, negative when early) and the 5 mostoverdueTasks.flow: tasks in each status at the end of each bucket, the median and slowest-10% time spent in each open status (Done and Closed statuses are where work ends, so they are left out), and how long tasks wait at approval steps.runs(when the project has a workflow or ran one): outcomes per bucket, run durations, failures by step and by reason, how often files re-ran, and the latest batches.credits: spend per bucket and by feature, refunds, and spend per completed run, covering the project's runs and the jobs filed in it. Only members who may see credit usage (credits:read) get it; for others it isnull.people,languagesandfiles: work per person, tasks per language pair, and files added and deliverables filed over time.
Every time series follows period.buckets, which is by day, or by week past 92 days. A task's time in each status is recorded from the moment it enters it, whether a person, a batch or the workflow moved it. In Personal view, only your own tasks count.
Schedule and workload
Get the schedule lays a project's tasks out in time, for timeline, calendar and workload views. Pass a window with from and to (up to 400 days). You get every task whose dates overlap it. A task spans from its startDate to its endDate; with only one of the two it sits on that day. Tasks come earliest first, at most 1,000 (truncated says when there were more). q and assignee (me or a member id) narrow them, as on List tasks.
unscheduled: how many open tasks (not in a Done or Closed status) have no dates, and the first 50 of them.people: each person's workload: the project's members (leads first), plus anyone else assigned open work. It includes theiropen,overdue,unscheduledandawaitingActiontasks (a run stopped at an approval or another step that needs a person), open and overduechecklistitems, the tasks they finished in the last 7 days, and theirweeklyCapacity.unassigned: the same counts for open tasks nobody has.
The workload counts cover the whole project, whatever the window, q or assignee.
Get the team’s workload gives the same per-person counts without a window. It adds how many of each person's tasks sit in each status (byStatus) and how many are finished (done), and gives the same for the tasks nobody has. It is the data behind a team board: "Not done / Done", and a status breakdown per person. q narrows the tasks counted. To list one person's tasks in a status, call List tasks with assignee and status; assignee=none lists the tasks nobody has. Reschedule a task with Update a task (startDate, endDate). Set someone's weekly capacity, the open tasks they can carry in a week (or null to clear it), with Update a project member. In Personal view, only your own tasks count.
Notifications
Changes made through the API notify people exactly as changes in the app do: in the app's inbox, by push, and by email. Nobody is told about their own change. An API key acts as the member who created it.
| What happens | Who is told |
|---|---|
| A task is assigned to someone (at Create a task, through its people, or when the workflow reaches a step they own) | The people newly assigned |
| A task moves to another status, gets a new due date, or its run finishes, fails or is cancelled | The task's watchers (assignees watch by default) |
| A checklist item is assigned to someone | The people newly on the item |
| A description @mentions someone | The people newly mentioned, if they can see the project |
| A run finishes every file of a batch | Whoever started it, and the project's leads |
| Work is due tomorrow (within the hour, when it has a time), or its due date or time has just passed | Its assignees (a task with none: whoever created it), once per due date |
A mention in a description is a <span data-type="mention" data-id="<member id>" data-label="<name>">@name</span>; the data-id is the organization member's id. Moves the workflow makes between its own steps notify no one — only how the run ended does.
Deleting a project
Projects are deleted in the Universe app. Deleting a project deletes its tasks and checklists. Jobs filed under it are kept and become unassigned. Its drive folder moves to the trash, where its files can still be restored.
Permissions
| Resource | Covers | Actions used |
|---|---|---|
project | Projects, their members and files totals. delete also lets a role see every project. | create, read, update, delete, assign |
task | Tasks and task members. | create, read, update, delete, assign |
checklist | Checklists and their items. | create, read, update, delete |
Starting a batch, and running a task again, also need cosmos:execute (and task:create for a batch).
Only those two charge credits, and only through the runs they start: each paid step of each run is charged by its own product when the step starts, by what it processes. Before anything is created, the balance must cover one credit per paid step for every file (minimumCredits in the preview), or the start answers 402 InsufficientCredits. Every other endpoint here is free.