Help Center/ Face Recognition Service/ FAQs/ APIs/ How Do I Set the top_n Parameter in the Face Retrieval API?
Updated on 2023-10-19 GMT+08:00

How Do I Set the top_n Parameter in the Face Retrieval API?

If a request for the API does not contain the top_n parameter, the system returns the most similar 10 faces by default. The maximum value you can set for the top_n parameter is 1,000.