Skip to main content

List recent pomodoro sessions for a timer

List recent pomodoro sessions for a timer. Requires a valid Bearer session.
1 min read
get/pomodoro/profiles/{studioId}/timers/{timerId}/sessions/recent
Request example
Response
get/pomodoro/profiles/{studioId}/timers/{timerId}/sessions/recent

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#
Identifier or key studioId.
timerIdstringrequired#
Identifier or key timerId.

Query parameters

limitinteger#
Filter limit.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
studioIdstringrequired#
createdBystringrequired#
namestringrequired#
descriptionstring#
colorstring#
workMinutesintegerrequired#
shortBreakMinutesintegerrequired#
longBreakMinutesintegerrequired#
cyclesPerRoundintegerrequired#
autoStartBreaksbooleanrequired#
autoStartWorkbooleanrequired#
soundEnabledbooleanrequired#
notificationsEnabledbooleanrequired#
linkedTaskIdstring#
linkedProjectIdstring#
pinnedAtstring#
archivedAtstring#
createdAtstringrequired#
updatedAtstringrequired#
request_idstring#