Skip to main content

List budgets

List budgets. Requires a Bearer session valid Bearer session.
1 min read
get/finance/profiles/{studioId}/budgets
Request example
Response
get/finance/profiles/{studioId}/budgets

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.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
namestring#
tagIdstring#
tagNamestring#
amountCentsintegerrequired#
spentCentsintegerrequired#
Committed spend for the period (paid + pending expenses).
spentPaidCentsintegerrequired#
Settled (paid) expense total for the period.
spentPendingCentsintegerrequired#
Unpaid expense total still counted toward the commitment.
remainingCentsintegerrequired#
alertThresholdPctinteger#
alertEmailEnabledboolean#
isActivebooleanrequired#
warningbooleanrequired#
True when committed spend crosses the alert threshold.
exceededbooleanrequired#
True only when settled (paid) spend exceeds the limit.
request_idstring#