NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Domains → Count Domains

AI-generated

Summary

Count the total number of domains, optionally refreshing the dropdown cache

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options

Output shape

a single integer representing the total number of domains

Returns a primitive count; no pagination or error envelope

Examples

Example 1: Count domains using default cache settings

Leave refreshOptions at its default false

Example 2: Force fresh domain list

Set refreshOptions to true

Links

Discussion