RunningHub API icon

RunningHub API

Interact with the RunningHub API

Account → Get Account Info

AI-generated

Summary

Retrieves the RunningHub account status for the configured API key, including remaining RH coins, currently running tasks, wallet balance, and API type.

Inputs

None.

Output shape

One JSON item per input item, containing the raw response from RunningHub's POST /uc/openapi/accountStatus endpoint.

The operation has no parameters of its own. It uses the API key from the RunningHub credential, sent in the request body and as a Bearer header. The node also requires a license key on the credential, and it checks that key against an external license server before running. The exact response field names aren't defined in the node source. Each input item triggers a separate request. With Continue On Fail enabled, errors are returned on the item instead of stopping the workflow.

Examples

Example 1: Check coin balance before launching an expensive generation job

Resource: Account; Operation: Get Account Info. Follow it with an IF node that compares the returned coin balance to a threshold.

Example 2: Scheduled monitoring of wallet balance

Schedule Trigger -> RunningHub API (Account / Get Account Info) -> send a Slack or email alert when the balance is low.

Links

Discussion