set level api_