All Products
Search
Document Center

Platform For AI:ListPipelineRunNodeLogs

Last Updated:Sep 15, 2025

Obtains the node logs of a pipeline job.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
paiflow:ListPipelineRunNodeLogslist
*All Resources
*
    none
none

Request syntax

GET /api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/logs HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
PipelineRunIdstringYes

The ID of the pipeline job. You can call ListPipelineRuns to obtain the ID of the pipeline job.

flow-73186********nku43
NodeIdstringYes

The ID of the node on which the pipeline job is executed. You can call ListPipelineRuns to obtain the node ID.

node-hh5yc********mz8ms
OffsetintegerNo

The offset from which the data is returned. Default value: 0.

0
PageSizeintegerNo

The number of logs returned per page.

100
FromTimeInSecondslongNo

The beginning of the time range to query. This value is a timestamp. Unit: seconds.

1612180056
KeywordstringNo

The search keyword. Fuzzy match is supported.

abc
ReversebooleanNo

Specifies whether the logs are sorted in descending order. Valid values:

  • false: The logs are sorted in ascending order. This is the default value.
  • true: The logs are sorted in descending order.
false
ToTimeInSecondslongNo

The end of the time range to query. This value is a timestamp. Unit: seconds.

1612180056
TokenIdstringNo

The ID of the shared pipeline job.

https://pai.console.alibabacloud.com/?regionId=cn-hangzhou&workspaceId=102******&mode=noSidebar#/paiflow/pipeline-runs/flow-6y7******?Token=eyJ0e******

Response parameters

ParameterTypeDescriptionExample
object

The returned data.

RequestIdstring

The request ID.

473469C7-****-****-****-A3DC0DE3C83E
TotalCountlong

The total number of types that meet the filter conditions.

10
Logsarray

The list of the returned logs.

Logsstring

The queried logs.

abc

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-****-****-****-A3DC0DE3C83E",
  "TotalCount": 10,
  "Logs": [
    "abc"
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-07-24The internal configuration of the API is changed, but the call is not affectedView Change Details
2023-12-21The request parameters of the API has changedView Change Details
2022-06-14Add OperationView Change Details