Get every step of the workflow

Hi all,
I would like to know if there is a way to retrieve every step of the workflow (using REST API). Regardless if it was executed or not and if the case is archived or not?

Nevermind, I resolved this simply by retrieving the process contract!