Logs - Get
Get a specific log from a pipeline run
GET https://dev.azure.com/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}?api-version=6.0-preview.1
GET https://dev.azure.com/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}/logs/{logId}?$expand={$expand}&api-version=6.0-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
log
|
path | True |
integer int32 |
ID of the log. |
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
pipeline
|
path | True |
integer int32 |
ID of the pipeline. |
project
|
path | True |
string |
Project ID or project name |
run
|
path | True |
integer int32 |
ID of the run of that pipeline. |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '6.0-preview.1' to use this version of the api. |
$expand
|
query |
Expand options. Default is None. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
accessToken
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Definitions
Name | Description |
---|---|
Get |
Expand options. Default is None. |
Log |
Log for a pipeline. |
Signed |
A signed url allowing limited-time anonymous access to private resources. |
GetLogExpandOptions
Expand options. Default is None.
Name | Type | Description |
---|---|---|
none |
string |
|
signedContent |
string |
Log
Log for a pipeline.
Name | Type | Description |
---|---|---|
createdOn |
string |
The date and time the log was created. |
id |
integer |
The ID of the log. |
lastChangedOn |
string |
The date and time the log was last changed. |
lineCount |
integer |
The number of lines in the log. |
signedContent |
A signed url allowing limited-time anonymous access to private resources. |
|
url |
string |
SignedUrl
A signed url allowing limited-time anonymous access to private resources.
Name | Type | Description |
---|---|---|
signatureExpires |
string |
Timestamp when access expires. |
url |
string |
The URL to allow access to. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for