Docs

Docs

x-cpod-domain: planner

Planner

Daily plans and plan items for personal and team productivity.

Try in explorer client.planner

DailyPlan

A daily plan owned by a user, grouping plan items for a date.

REST path/api/v1/planner/daily-plans
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.planner.dailyPlans.list()

// create:
await client.planner.dailyPlans.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  date: "example date",
  owner_id: "example owner_id",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
date*stringPlan date (YYYY-MM-DD).
owner_id*stringUser ID of the plan owner.
focusstringPrimary focus or theme for the day.
statusenumPlan lifecycle status.draftactivecompletedarchived
notesstringFree-form notes for the day.
tagsjsonFree-form tags.

PlanItem

An item within a daily plan, optionally linked to a source record.

REST path/api/v1/planner/plan-items
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.planner.planItems.list()

// create:
await client.planner.planItems.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  plan_id: "example plan_id",
  title: "example title",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
plan_id*stringParent daily plan ID.
title*stringPlan item title.
descriptionstringDetailed description of the plan item.
statusenumPlan item status.plannedin_progresscompleteddeferredcancelled
prioritynumberPriority level (1 = highest, 5 = lowest).
estimated_minutesnumberEstimated time to complete in minutes.
actual_minutesnumberActual time spent in minutes.
scheduled_atdate-timeISO 8601 scheduled start time.
completed_atdate-timeISO 8601 completion timestamp.
source_idstringID of the source record (task, meeting, etc.).
source_typestringType of source record (task, meeting, manual).
tagsjsonFree-form tags.
project_iduuidParent project ID. Format: prj-<uuid>.
parent_task_iduuidParent task ID for subtask hierarchies.
sprint_iduuidSprint ID if this item is committed to a sprint.
feature_iduuidFeature ID if this item is grouped under a feature.
task_numberstringHuman-readable task number scoped to the project key.
story_pointsintegerAgile story point estimate.
estimated_hoursnumberEstimated hours to complete.
actual_hoursnumberActual hours logged against this item.
assignee_iduuidUser ID of the assignee. Format: usr-<uuid>.
reviewer_idsjsonUser IDs of reviewers.
labelsjsonFree-form label strings for categorisation.
due_datedate-timeItem due date (YYYY-MM-DD).
blocked_by_task_idsjsonTask IDs that must be completed before this item can proceed.
duplicates_task_iduuidTask ID that this item duplicates.
repository_refjsonLinked pull request or branch reference.
comment_countintegerNumber of comments on this item.
attachment_refsjsonReferences to attached files.
custom_fieldsjsonArbitrary key-value extension fields.