Harness API: get script outputs

I am trying to figure out if it is possible to get extra information from a workflow execution using Harness API. More precisely, I would like to get the Script output variables that are defined in a Bash script step within a workflow. Normally, you can define these variables so that they are reachable in later steps. Not sure if there is a way to get those values for a specific deployment using Harness API. Can someone help or indicate some pointers to look at? I have been checking the official doc (Use Workflows API - Harness.io Docs) but I am afraid there is nothing related to this.