Trying to access downstream variable in upstream pipeline

So I was wondering if anyone can help me with this issue we are having with our pipeline interaction.

For our deployment’s we have a main pipeline. This main pipeline call’s upon a downstream pipeline. The downstream pipeline interacts with an API and saves a specific variable. We were trying to access this variable in the upstream(main) pipeline but this doesn’t seem to be possible. Is there any way to achieve this?

An alternative could be that we have one specific job in the downstream pipeline that waits for the success status of a specific job in the upstream pipeline. But this also doesn’t seem possible because it would require the specific downstream job to wait while the upstream(main) pipeline continues.

I hope my description makes sense.