From the Azure-DevOps Rest API documentation https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.1 there is no clear way to query for the Jobs running on a specific Agent Pool.
Went through the different API calls plus fiddler.
curl -u X:X https://dev.azure.com/{organization}/_apis/distributedtask/pools/{poolId}/agents?api-version=5.1-preview.1
--> gets the running agents on a specific agent pool
What is the REST API call to get jobs on the queue on a specific Agent Pool? I expected a JSON output with the jobs running on a specific Agent Pool.