Get Function Input/Output?

Before the Thread view disappeared, it showed the User and Assistant messages, but also the function input/output. This was super useful in the context of the code_interpreter, so you could see what code was executed. Is there a way to access this via API/SDK? I’d like to essentially re-create the Thread view (with function input/output) and display in my application.