Jenkins step log

Currently, I use the Jenkins pipeline. There is a stage A, and there are several steps in the stage A (executing the corresponding script file). Now I want to obtain the log of each step. Does Jenkins have an interface?

Do you mean within the UI, or via a REST API?

yes , i mean REST API