If your 2022 return was a joint return the AGI on line 11 is indeed "your" AGI just like it is your ex-spouse's AGI. When you file a joint return, the AGI is the same amount for both spouses even if one spouse had little or no income.
**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.**