Add endpoint to test if indices exist