Magidoc

Project
Object

A Project is an active instance of work, the central container in Pie's Organization > Workspace > Project > Slice > Box > Todo hierarchy. It belongs to a workspace, optionally to a stack, and links back through recipe/recipeId to the Recipe (template) it was created from; recipes lists Recipes later created from this Project. Every new Project starts with one empty Slice, and Todos belong to a Project through their Slice — there is no direct projectId on a task. closedStatus is "open", "hold", or "closed" (closed is the boolean shorthand) and deletedAt marks soft deletion. propagateDependencies controls whether todo date changes shift dependent todos. sharingToken/sharingActive enable read-only public sharing, and apiKey reports whether a project-level API key is set (rotate with resetProjectApiKey). Returned by the project, projects, and stackProjects queries; managed by createProject, updateProject, and the other project mutations.

Fields

#

aiPromptData

apiKey

assignments

canMoveIntoStack

Whether the current user may add this existing project to a stack. Stack Admin alone is insufficient.

canRemoveFromStack

Whether the current user is a Workspace Admin, Stack Admin of the current stack, or Project Admin of this project, and so may remove it from a stack.

closed

closedStatus

Allowed values for closedStatus: "open", "hold", "closed".

colorTags

connectedToJira

connectedToSalesforce

currentUserCanEdit

Whether the current user can edit this project: a workspace admin, a project admin, or an admin of the project's stack.

currentUserProjectRole

The current user's effective project permission on this project (named "role" in this API only for historical reasons), resolved from workspace permissions, organization admin status, and project-level assignment. Returns null when the user has no access. Possible values: "admin", "admin+autoassign", "viewer", "member", "member+invite", "only_my_work". Note: stack-level admin permissions are surfaced through stack queries, not through this field.

dataFieldAnswers

deletedAt

description

endDate

files

id

insertedAt

jiraAccountId

jiraProjectKey

lastStatusComment

position

posts

progress

projectStatusDots

propagateDependencies

recipe

recipeId

recipes

redistributed

roles

sharingActive

Whether public sharing is active, independent of permission to read the sharing credential.

sharingToken

Sharing credential, readable only by a browser-session project editor. Null for ordinary members, PAT/MCP tokens, and public sharing queries. Use sharingActive to display sharing status.

slices

stack

stackId

startDate

status

tags

title

todosEndDate

todosStartDate

totalBudget

Monetary project budget. Null unless the actor has persisted billing_rates permission plus organization admin, workspace admin/executive viewer, or admin rights on this project. Organization-owned PATs may read budgets within their organization. Hidden on public sharing reads.

workspace

workspaceId

Usages

#

References

#