We are seeing inconsistent behavior between ONTAP REST APIs:
The public REST API ("/api/storage/volumes") only returns a subset of RW data volumes.
The private CLI REST API ("/api/private/cli/volume") correctly returns the full set.
Additionally, the public REST API sometimes throws errors like “SVM not found” after certain records are displayed
Expected Behavior
The public REST API should return all valid volumes, excluding only system, root, or transient volumes.
Impact
Monitoring and automation tools (e.g., NetApp Harvest) rely on the public REST API output.
Because the API is incomplete and inconsistent, monitoring dashboards and alerts are missing critical volumes.
This poses risk to automation workflows that assume complete and accurate API responses.
Request
Please investigate why the public REST API is returning incomplete volume data and throwing SVM errors, while the private CLI API provides the correct information.
We need guidance on whether this is a known limitation, configuration issue, or a bug in ONTAP REST.