Skip to main content

Get daily pomodoro stats

Get daily pomodoro stats. Requires a Bearer session and a valid Bearer session.
1 min read
get/pomodoro/profiles/{studioId}/sessions/daily-stats
Request example
Response
get/pomodoro/profiles/{studioId}/sessions/daily-stats

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.

Query parameters

dateKeystringrequired#
Filter dateKey.

Pattern: ^\d{4}-\d{2}-\d{2}$

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
idstringrequired#
studioIdstringrequired#
userIdstringrequired#
timerIdstringrequired#
phasestringrequired#
cycleIndexintegerrequired#
plannedSecondsintegerrequired#
elapsedSecondsintegerrequired#
completedbooleanrequired#
startedAtstringrequired#
endedAtstringrequired#
dateKeystringrequired#
request_idstring#