Actions7
- Credits Actions
- Users Actions
- Subscriptions Actions
Credits → Get Credits
AI-generatedSummary
Retrieve the current credit balance for a specified user from the middleware service.
Inputs
- Authentication — Select the authentication method to use: None or Credentials.
- Base URL — The URL of the middleware service; required if using no authentication.
- User ID (required) — The ID of the user whose credit balance you want to retrieve.
Output shape
a JSON object with the user's credit balance, wrapped in a list representing the execution data for each input item
Each execution input item returns its own result. Error messages are included if the request fails and continueOnFail is enabled.
Examples
Example 1: Fetch user credits without authentication
Authentication set to None with the default Base URL; provide User ID.