Is there an API method to retrieve all the values of a filter-only facet filter?

I am looking to retrieve all the values of a filter in the filter-only attributeForFaceting from the index settings. Is there any API method I can use?

You can retrieve all values of a facet or facets using the facets API:
facets API parameter | Algolia

You can then use those facet values for filtering.

(This question was originally answered here: Get list of all facets & its values - #2 by Youcef)