How to get TrainingResult object after training the model through API

I use api to train model, call http://local_rasa:5005/model/train?callback=some_callback_url, When I got the post data on callback_url after traing, I found that request.body is BYTES, now how can I convert bytes into TrainingModel object?

Thank you for your explanation.