Get week plan by week
Returns the week header (if it exists) and its items. Does not create the header; lazy creation happens when writing items. weekStartDateKey must be a Monday (YYYY-MM-DD).
1 min read
get/week-plan/profiles/{studioId}/by-week
Request example
Response
get/week-plan/profiles/{studioId}/by-week
Authorization
Path parameters
Query parameters
Monday of the week as YYYY-MM-DD (weekStartsOn 1).
Pattern: ^\d{4}-\d{2}-\d{2}$
Responses
application/json
OK.
Show child attributesHide child attributes
Absent when no header exists yet for the week.
Weekly intent (optional short text).
Show child attributesHide child attributes
Day YYYY-MM-DD. Null = Later (no day) for that week.
Linked Calendar reminder (optional).
Source task when added from Tasks (optional).
Linked habit (optional; XOR with sourceTaskId).
Active weekly series (omitted if the series is paused).