Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cgwire/zou/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Tasks are the fundamental units of work in Zou’s production pipeline. Each task represents work assigned to artists on specific entities (assets, shots, scenes, sequences, episodes, edits, or concepts). Tasks track progress through status changes, support artist assignments, time tracking, comments, and preview files.Task Structure
A task consists of:- Basic Information: Name, description, priority, and difficulty (1-5 scale)
- Scheduling: Start date, due date, real start date, end date, and done date
- Progress Tracking: Completion rate, estimation, duration, retake count
- Relationships: Project, entity, task type, task status, assignees, and assigner
- Media: Last preview file reference
- Custom Data: JSONB data field for additional metadata
Task Model Fields
Task Lifecycle
Tasks follow a standard production workflow:1. Task Creation
Tasks are created for entities using task types:- Created individually or in batch for multiple entities
- Default status applied (“Todo” for standard tasks, “Neutral” for concepts)
- Initially unassigned with zero duration and estimation
2. Assignment
Tasks can be assigned to one or more artists:- Multiple assignees supported per task
- Assignments trigger notifications
- Assigner tracked for accountability
- Department access controls apply
3. Work Progress
As work proceeds, tasks move through statuses:- WIP (Work In Progress): Sets
real_start_dateon first WIP status - To Review / Feedback Request: Sets
end_datewhen submitted for review - Retake: Increments
retake_countwhen switching to retake status - Done: Sets
done_datewhen marked complete
4. Status Automation
Certain status changes trigger automatic updates:real_start_date: Set when task first enters WIP statusend_date: Set when task enters feedback request statusdone_date: Set when task enters done statusretake_count: Incremented on transitions to retake status
5. Comments and Previews
Tasks support collaborative review:- Comments track feedback and discussion
- Preview files attach to comments with revision tracking
- Acknowledgements and mentions for team coordination
- Attachment files for reference materials
6. Time Tracking
Tasks track time spent:- Time spents recorded per person per day
- Duration automatically updated from time spents
- Estimation vs actual duration comparison
Task Assignments
Assigning Tasks
Assign a single task:Clearing Assignments
Remove assignees from tasks:person_id to clear all assignees from the tasks.
Workflow Integration
Creating Tasks in Bulk
Create tasks for all shots in a project:- Assets:
/assets/create-tasks - Edits:
/edits/create-tasks - Concepts:
/concepts/create-tasks - Generic entities:
/create-tasks/{entity_type}/
Submitting for Review
Set a task to review status:Querying Tasks
Get Full Task Details
Retrieve a task with all relationships populated:Get Person’s Tasks
Retrieve all open tasks for a person:Get Tasks with Filters
Query open project tasks with multiple filters:project_id: Filter by projecttask_type_id: Filter by task typetask_status_id: Filter by statusperson_id: Filter by assignee (or “unassigned”)studio_id: Filter by studiodepartment_id: Filter by departmentstart_date: Tasks starting after datedue_date: Tasks due before datepriority: Filter by task type prioritypage: Pagination page numberlimit: Results per page (default 100)
Best Practices
Task Naming
Most tasks use the name “main” as the default. Custom names can be used for:- Multiple tasks of the same type on one entity
- Specialized workflow steps
- Subdivision of work
Estimation and Duration
- Estimation: Planned time in minutes for the task
- Duration: Actual time spent (auto-calculated from time spents)
- Compare estimation vs duration for pipeline efficiency analysis
Status Transitions
Common status flows:- Standard Flow: Todo → WIP → Waiting for Approval → Done
- Retake Flow: Waiting for Approval → Retake → WIP → Waiting for Approval → Done
- Concept Flow: Neutral → To Review → Approved/Rejected
Department Access
Tasks inherit department access from their task type. Artists can only be assigned to tasks in their department(s).Related Resources
- Task Types - Configure task categories
- Task Status - Manage task statuses
- Task Endpoints - Complete API reference
- Comments API - Add feedback to tasks
- Preview Files API - Manage task previews