api correct applog typing