Deductions & credits

My family and I have been living in the US since 2018, initially on J visas and later on H visas. In 2024, I changed jobs and we have continued residing in the US holding O1A visa(myself) and O3 visas(my family members). Tax experts assisted me with filing in the past few years, but I am unable to find the information on whether we were filed as residents or non-residents.