Skip to main content

Get period summary

Get period summary. Requires Authorization: Bearer with a Better Auth session token.
1 min read
get/finance/profiles/{studioId}/analytics/period-summary
Request example
Response
get/finance/profiles/{studioId}/analytics/period-summary

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.
currencystring#
Scope totals to one currency. Mixed currencies are not summed.

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
currencystring#
incomeCentsintegerrequired#
expenseCentsintegerrequired#
expensePaidCentsintegerrequired#
expensePendingCentsintegerrequired#
transferCountintegerrequired#
request_idstring#