NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Charts → Count Charts

AI-generated

Summary

Count charts matching specified filter criteria.

Inputs

  • refreshOptions — Bypass cached dropdown values to fetch fresh options.
  • domain (required) — Domain identifier to filter charts.
  • dashboard_id (required) — Identifier of the dashboard to filter on.
  • type — Chart type filter (optional).

Output shape

A single integer representing the count of charts.

Returns a non‑negative integer; no pagination or additional fields.

Examples

Example 1: Count active charts in domain example.com on dashboard 45.

{"domain":"example.com","dashboard_id":45,"type":"active"}

Example 2: Count all charts without additional filters.

{}

Links

Discussion