(feat) add pseudocode for apiStatusCheck()