Todo Object
A task — Pie's unit of work. A Todo lives in a Slice (sliceId),
optionally grouped in a Box (boxId), and belongs to its Project
through the Slice; personal On My Plate tasks instead carry a
workspaceId and no slice. There is no closed flag: the nullable
progress (0-100) is the only completion signal — 100 or more
means done. A non-null todoId marks the Todo as a subtask of that
parent, though subtasks still appear top-level in list queries.
snoozeDate is caller-specific: it resolves the calling user's own
snooze for the task, falling back to the todo's stored date.
status is an internal lifecycle integer (Pie's client uses -1 for
unsaved drafts) and deletedAt marks soft deletion. Scheduling
uses startDate, dueDate, duration, and workEffort, plus
predecessors with dependenciesType. Fetched by the todo,
projectTodos, projectsTodos, sliceTodos, and ompTodos
queries; createTodo, updateTodo, deleteTodo, and
undoDeleteTodo return a TodoMutationPayload. The Recipe-side
template counterpart is RecipeTodo.
Fields
#
assignments
box
boxId
checklist
deletedAt
dependenciesType
Allowed values for dependenciesType: "finish-to-start", "start-to-start", "finish-to-finish".
description
dueDate
duration
files
historyLines
id
insertedAt
jiraId
position
posts
predecessors
progress
recurring
roles
slice
sliceId
snoozeDate
startDate
status
timeEntriesTotal
timeItems
title
todoId
updatedAt
workEffort
workEffortCustomized
workspaceId
Usages
#
References
#
- Field todo from Assignment
- Field todos from Box
- Field todos from ColorTag
TimeItem
TodoAiInput
