Your spouses AGI and yours are the same if you file jointly.
If you filed your 2023 tax return as Married Filing Jointly then you enter the same 2023 AGI for each of you.
Otherwise, you will have to access your spouse's 2023 federal tax return Form 1040 Line 11 for their 2023 AGI.