Huntress icon

Huntress

Interact with Huntress API

Actions86

Reseller → List Account Usage Line Items

AI-generated

Summary

List account usage line items for a specific reseller invoice by invoice ID, supporting pagination and filtering options.

Inputs

  • id (required) — The numeric ID of the reseller invoice to retrieve account usage line items for.
  • returnAll — Boolean flag to determine whether to return all pages of results or only a single page.
  • additionalFields.limit — Maximum number of usage line items to return per page, defaulting to 10 if unspecified, with allowed values between 1 and 500.
  • additionalFields.page_token — Pagination token to request a specific page of results.
  • options.customBody — Optional JSON object to send as the request body, merged into the request and taking precedence.
  • options.headerFilters — Optional custom HTTP headers to include in the request.
  • options.queryFilters — Optional query string filters, each defined by a parameter name and value.
  • options.batching — Batching settings to control the number of input items processed per batch and interval delays between batches.
  • options.debug — Boolean flag to include detailed debug information about the request and response.
  • options.pagination — Settings to configure pagination mode (offset, cursor, or URL-based), page parameters, cursor paths, maximum pages to fetch, and intervals between page requests.
  • options.timeout — Timeout in milliseconds to wait for server response headers before aborting, defaulting to 300000 ms (5 minutes).

Output shape

a paginated list of account usage line item objects associated with the specified reseller invoice

Supports native pagination controls either via offset, cursor, or next page URL depending on configuration. Returns a single page by default unless 'Return All' is set to true or pagination settings are adjusted. Debug output is available if enabled.

Links

Discussion