gapi check