Elastic search alias

I have an alias created for an index. What is the search api that I should use while submitting a query?

Any of them will work.