Hi @NCoreaAcuña ,
Have a look this documentation regarding get the pipeline with stages.
Screen shot : https://prnt.sc/1ep0npv
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.