For Clustered ONTAP, APIs are divided among Cluster level APIs and Vserver level APIs. Majority of file APIs are at Vserver level.
You will "file-list-directory-iter" among Vserver APIs which will give you a list of files in a given directory.
-Kunal