If you filed a joint return for 2023, the AGI is the same for you and your former spouse---it on line 11 of your 2023 Form 1040.
Where do I find my AGI?
https://ttlc.intuit.com/community/agi/help/how-do-i-find-last-year-s-agi/01/25947
Your 2023 tax return shows your 2022 Adjusted Gross Income (AGI) If you filed a joint return then the AGI is the same for each of you.
Form 1040 line 11
If entering the amount from your 2023 tax return does not work, then try entering “0” instead. If that does not work and you still cannot e-file, then print, sign, and mail your tax return.
You can get a free transcript of your past return from the IRS:
https://www.irs.gov/individuals/get-transcript
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**