Actions9
- Async Callback Actions
- Authentication Actions
- Invocation Actions
- Job Actions
- Usage Actions
Usage → Report Usage
AI-generatedSummary
Report usage units for a specified user and service to the Tollara usage reporting API, optionally overriding the default API URL.
Inputs
- Service Secret — Secret for this Tollara service used for HMAC signing.
- User ID (required) — The identifier of the user for whom usage is being reported.
- Service ID (required) — UUID of the Tollara service to which the usage applies.
- Units Used (required) — The number of usage units to report.
- Set API Endpoints — When enabled, override default Tollara API URLs.
- Usage reporting API URL (required) — The API URL to use for usage reporting when Set API Endpoints is enabled.
Output shape
a list of items corresponding to input items, each augmented with the usage report result or error information
Each output item includes the report result on success (reportSuccess: true with details) or failure (reportSuccess: false with error and HTTP status). The operation may throw an error if the usage report fails to send. Default Tollara usage API URLs are used unless overridden via node parameters.
Examples
Example 1: Report 10 usage units for a user and service using default Tollara API
Set required User ID, Service ID, Units Used to 10, and Service Secret if applicable.
Example 2: Report usage with custom API endpoint URLs
Enable Set API Endpoints and provide Usage reporting API URL to override the default endpoint.