Skip to main content

Get planner baseline projection

Month-by-month balance projection without a scenario. The as-of month (UTC) combines real income/expense transactions for the month (paid + pending; no transfers) with recurring rules not yet materialized; future months project recurrences only. In accounts mode, the window start balance in the current month is reconstructed as live balance minus net paid MTD. Requires Authorization: Bearer with a Better Auth session token.
1 min read
get/finance/profiles/{studioId}/planner/projection
Request example
Response
get/finance/profiles/{studioId}/planner/projection

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

monthsinteger#
Horizon in months (1-36, default 6).
startYearinteger#
Window start year (defaults to the current UTC month).
startMonthinteger#
Window start month 1-12 (defaults to the current UTC month).
fromstring#
YYYY-MM alias of the start month.

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
startingBalanceCentsintegerrequired#
Base series balance at the start of the window.
scenarioStartingBalanceCentsintegerrequired#
Scenario series balance at the start of the window.
startYearintegerrequired#
startMonthintegerrequired#
monthsobject[]required#
Show child attributes
monthKeystringrequired#
yearintegerrequired#
monthintegerrequired#
baselineIncomeCentsintegerrequired#
baselineExpenseCentsintegerrequired#
baselineEndBalanceCentsintegerrequired#
scenarioIncomeCentsintegerrequired#
scenarioExpenseCentsintegerrequired#
scenarioEndBalanceCentsintegerrequired#
request_idstring#