DefensX icon

DefensX

Call DefensX Partner API endpoints.

Actions47

Usage → Get the current usage which is not billed yet in current subscription term window

AI-generated

Summary

Retrieves unbilled usage records for the current subscription term from DefensX. Optionally filters by customer and collects paginated results.

Inputs

  • Customer ID — Filter results to one customer; leave empty to include all customers.
  • Return All — When enabled (default), fetches all pages. Disable to cap the results using Limit.
  • Limit — Maximum number of usage records to return when Return All is disabled; defaults to 100.
  • Output Mode — One Item Per Element emits each usage record as an n8n item; Single Item (Raw) emits the collected records in one item.

Output shape

Usage records, either one n8n item per record or a single item containing the collected records.

The request uses GET /usage/current. Results include only records in the current subscription term that have not yet been billed. Pagination is collected by the node; an empty result is emitted as an empty array in the selected output mode.

Links

Discussion