Skip to main content

List deleted week-plan items

Returns at most 50 soft-deleted items, newest deletion first. Restoring an occurrence does not reactivate a paused series.
1 min read
get/week-plan/profiles/{studioId}/items/trash
Request example
Response
get/week-plan/profiles/{studioId}/items/trash

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#

Responses

application/json
OK.
dataobject[]required#

Items: max 50

Show child attributes
idstringrequired#
planIdstringrequired#
studioIdstringrequired#
dateKeystring#
Day YYYY-MM-DD. Null = Later (no day) for that week.
titlestringrequired#
notesstring#
doneAtstring#
sortOrderintegerrequired#
calendarReminderIdstring#
Linked Calendar reminder (optional).
sourceTaskIdstring#
Source task when added from Tasks (optional).
sourceActivityIdstring#
Linked habit (optional; XOR with sourceTaskId).
seriesIdstring#
Active weekly series (omitted if the series is paused).
repeatWeekdayinteger#
Series weekday (0 = Sunday … 6 = Saturday) if active.

Range: 0–6

createdBystringrequired#
createdAtstringrequired#
updatedAtstringrequired#
deletedAtstringrequired#
seriesPausedbooleanrequired#
True when the linked weekly series remains paused after restore.
request_idstring#