Actions7
Get Balance
AI-generatedSummary
Retrieve the current token balance for the authenticated API key
Inputs
None.
Output shape
object
The parsed JSON response from the AgentGen API's /v1/balance endpoint, typically containing balance information and status.
Examples
Example 1: Checking remaining tokens before starting a new render task
Use the AgentGen node, select the 'Get Balance' operation, ensure 'agentGenApi' credentials are configured, and run the workflow. The node returns the current token balance as the output JSON item.