You need to enable JavaScript to run this app.
Code Pipeline

Code Pipeline

Copy page
Download PDF
Log
GetTaskRunLogDownloadURI
Copy page
Download PDF
GetTaskRunLogDownloadURI
Get the download link for task run logs​
Request description​
To achieve low latency, select the service address for the Region where your resources are located. For details, see Service address.​
  • Request method: POST​
  • Request URL: https://cp.cn-beijing.volcengineapi.com?Action=GetTaskRunLogDownloadURI&Version=2023-05-01​
Request parameters​
​
Parameter​
Type​
Required​
Sample Value​
Description​
Action​
String​
Yes​
GetTaskRunLogDownloadURI​
The API name. The name of the current API is GetTaskRunLogDownloadURI.​
Version​
String​
Yes​
2023-05-01​
The API version. The current version of the API is 2023-05-01.​
WorkspaceId​
String​
Yes​
7815d4783edc47c5bbd7df024ab9****​
The workspace ID.​
PipelineId​
String​
Yes​
1b91935cdd9c49cdacd0cba229b1****​
Pipeline ID.​
PipelineRunId​
String​
Yes​
9c7219420b004cccb337224fa57****​
Pipeline run ID​
TaskId​
String​
Yes​
94f98a65d0854daab1da06c473d5****​
Task ID.​
TaskRunId​
String​
Yes​
68a359ebddac482599cdf23e90ba****​
Task run ID.​
StepName​
String​
Yes​
exec-cmd​
The step name.​
​
Sample requests​
​
POST https://cp.cn-beijing.volcengineapi.com?Action=GetTaskRunLogDownloadURI&Version=2023-05-01 HTTP/1.1​
Content-Type: application/json​
{​
"WorkspaceId": "7815d4783edc47c5bbd7df024ab9****",​
"PipelineId": "1b91935cdd9c49cdacd0cba229b1****",​
"PipelineRunId": "9c7219420b004cccb337224fa57****",​
"TaskRunId": "68a359ebddac482599cdf23e90ba****",​
"TaskId": "94f98a65d0854daab1da06c473d5****",​
"StepName": "exec-cmd"​
}​
​
Response parameters​
​
Parameter​
Type​
Sample Value​
Description​
Url​
String​
https://cp-v2.tos-cn-beijing.volces.com/v2/log/7815d4783edc47****​
Log download link.​
​
Sample response​
​
HTTP/1.1 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "202401292131402BA77414F8F67D9E****",​
"Action": "GetTaskRunLogDownloadURI",​
"Version": "2023-05-01",​
"Service": "cp",​
"Region": "cn-beijing"​
},​
"Result": {​
"Url": "https://cp-v2.tos-cn-beijing.volces.com/v2/log/7815d4783edc47****"​
}​
}​
​
Error code​
This API currently does not have dedicated error codes. If an exception occurs when calling the API, you can refer to the public error codes for troubleshooting.​
Last updated: 2025.09.10 17:37:28