def get_models_deployed(api, project_id):
    """
    Gets the list of models deployed
    Arguments :
        api : object, API object to access CloudML Engine
        project_id : string, project id of the project
    Returns :
        list_of_models : list, List of the models deployed
    """
    model_response = api.projects().models().list(parent=project_id).execute()
    return [a['name'] for a in model_response['models']]