Question

I need to retrieve some text messages from about a year ago for court. Does T-Mobile keep records? On the phone records does it show the actual text message so it can be read?