NFL star Earl Thomas is lucky to be alive after cops say his wife held a loaded gun less than a foot from his head ... after she allegedly caught him cheating with another woman.
It's all spelled out in court documents obtained by TMZ Sports ... detailing a violent April 13 altercation involving the Baltimore Ravens player, Nina Thomas and several other people.
The Austin Police Dept. responded to a home in the Austin, Texas area at 3:41 a.m. after getting a call about a disturbance.
When cops arrived, they say "we observed that a black female wearing an orange sweater with a knife in her hand, later identified as Nina Thomas, was chasing a shirtless black male, later identified as Earl Thomas, with a pistol in his hand around a vehicle.