Skip to main content

List Logs

Get a list of logs from a pipeline run.

External Documentation

To learn more, visit the Azure DevOps documentation.

Basic Parameters

ParameterDescription
OrganizationThe Azure DevOps Organization. You can view the Organizations list in the Azure DevOps Organizations page.
Pipeline IDThe unique identifier of the pipeline. You can find the Pipeline ID by navigating to the Pipelines tab of the project where the pipeline is defined.You can find the desired project by navigating to the Azure DevOps Projects page.
ProjectThe Project ID or Project name. You can view the Projects list in the Azure DevOps Projects page.
Run IDThe unique identifier for a particular run of a pipeline.The run ID can be obtained from the URL of the pipeline run in the Azure DevOps.You can also get the Run ID using the List Runs action.

Advanced Parameters

ParameterDescription
ExpandWhether or not to include additional details in the response. Default is none.

Example Output

{
"logs": [
{
"createdOn": "The date and time the log was created.",
"id": 0,
"lastChangedOn": "The date and time the log was last changed.",
"lineCount": 0,
"signedContent": {
"signatureExpires": "Timestamp when access expires.",
"url": "The URL to allow access to."
},
"url": "string"
}
],
"signedContent": {
"signatureExpires": "Timestamp when access expires.",
"url": "The URL to allow access to."
},
"url": "URL of the log."
}

Workflow Library Example

List Logs with Azure Devops and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop