How to get job logs if parallel jobs are running in gitlab project

In a pipeline I have 2 jobs , second job parses the logs of first job and for that I am using below API to get job id<id>/jobs?scope[]=success

Now issue is what will happen if I will execute multiple parallel runs using that I can differentiate the job logs in respective pipelines.