Retirement tax questions

Its was a 401k. I had left my job & had to close ny 401k. When doing my state taxes its asking for the basis. I have no clue what that is or how to find it.