Do you have an amount on your 2022 Form 8606, Line 22? This should show your basis of your Roth contributions. Otherwise, you may need to go through your old records to find how much your had in contributions (without regard to rollovers) in prior years.