Skip to main content

Get monthly Agent credit balance

Returns the operational projection of the studio-shared balance. Metronome keeps the canonical ledger.
1 min read
get/profiles/{studioId}/agent-credits
Request example
Response
get/profiles/{studioId}/agent-credits

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#

Responses

application/json
Current balance.
dataobjectrequired#
Show child attributes
usedintegerrequired#
includedintegerrequired#
extraintegerrequired#
totalintegerrequired#
remainingintegerrequired#
periodStartMsintegerrequired#
periodEndMsintegerrequired#
sourceenum<string>required#
Options:metronome
syncStatusenum<string>required#
Options:pendingsynceddegradederror
entitlementVersioninteger#
billingScopeKindenum<string>#
Options:profilefree_owner
request_idstring#