If you have your 1040 or 1040NR return you filed with the IRS for 2022, look on Line 11 for your AGI.
If you don't have your 2022 1040 or 1040NR, go to the IRS Get Transcript site to view a copy.
Wait until you've filed your 2022 return before grabbing your 2021 AGI. Your AGI will fluctuate if you're still working on your return.
You won't find your 2022 AGI on your W-2 or 1099 forms.