I have a bunch of on-prem agents and I want to create a report that lists the jobs per agent and their status.

There doesn't seem to be anything in the Pipeline Analytics Metadata that references the agent that the job was run on.

Is this data available anywhere else?

1 Answer 1


You should be able to get the current job & status for an agent via the rest api:


You can find the pool id via the the URL from the UI or make a separate call to: https://dev.azure.com/{organization}/_apis/distributedtask/pools?api-version=7.0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.