If you can get the receipt from the last owner from the body shop(s), then you would at least know what was done. BUT even that wont tell you if it was done right.
I have seen what looks minor to be more than major. As well as what you might think is bad, fixable.
Most get totaled so easy today. As long as the airbags do not go off most can be fixed but you add in that system repair and interior parts all seat belts, it can get into more than most used will be worth on top of body damage.
So it might be just a few fender benders and be a fine truck?