Skip to main content

Get finance period breakdown

Get finance period breakdown. Requires a Bearer session and a valid Bearer session.
1 min read
get/finance/profiles/{studioId}/analytics/period-breakdown
Request example
Response
get/finance/profiles/{studioId}/analytics/period-breakdown

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

periodStartMsintegerrequired#
Filter periodStartMs.
periodEndMsintegerrequired#
Filter periodEndMs.
accountIdstring#
When set, aggregate expenses from finance_transactions for this account instead of daily tag summaries.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
tagIdstring#
tagKeystringrequired#
tagNamestring#
totalCentsintegerrequired#
request_idstring#