ListNodeRunsResponse
A page of a pipeline run's steps.
Shape
itemsarray of NodeView
- The NodeView schema
- attemptinteger · int320–∞
- capability_idCapabilityId (string)The capability this step runs, as
{provider}:{name}(e.g.docker:build). historyarray of NodeAttemptRecordEarlier attempts of this step after retries, oldest first.
- The NodeAttemptRecord schema
- attemptinteger · int320–∞
- finished_atstringWhen the attempt ended, RFC 3339.
- node_run_idNodeRunId (string · uuid)
- statusNodeStatuspendingawaiting_approvaldispatchedrunningsucceededfailedtimed_outskippedcancelledWhere a step has got to.
- exit_codeinteger · int32 or nulloptional
- logs_hrefstringRelative URL of this step's logs.
- node_idNodeId (string)
- node_run_idNodeRunId (string · uuid)
- provider_idProviderId (string)The provider that runs this step (e.g.
docker), as chosen from the catalog when the run started. - stage_idStageId (string)
- stage_indexinteger · int320–∞
- statusNodeStatuspendingawaiting_approvaldispatchedrunningsucceededfailedtimed_outskippedcancelledWhere a step has got to.
- allow_failurebooleanoptionalThe author marked this step as allowed to fail: if it fails or times out, the stage and the run carry on (the run ends
succeeded_with_warnings) and only the steps that depend on it are skipped. Show such a failure as a warning. - duration_msinteger · int64 or nulloptional0–∞
- error_summarystring or nulloptionalWhy the step failed, skipped, timed out or was cancelled, in a sentence or two. For a step that failed after it ran, the same text as
failuredescribes. - exit_codeinteger · int32 or nulloptional
- failureNodeFailure or nulloptionalWhy a step that ran failed, as a cause a client can act on. Absent for a step that succeeded or never ran.
- finished_atstring or nulloptional
- namestringoptionalThe step's display name, as the pipeline's author wrote it when the run started. Empty for older runs recorded without one; show the capability instead.
originNodeOrigin or nulloptionalThe component this step was expanded from, when the author wrote a component instance rather than the step itself. Absent for a step the pipeline declares directly, and for runs that predate this field.
- The NodeOrigin schema
- component_idComponentId (string · uuid)
- component_nameComponentName (string)
- inner_node_idNodeId (string)This node's identifier inside the component body — what its author called it, before expansion prefixed it with the instance.
- instance_idNodeId (string)The component instance in the pipeline the author wrote.
- versionComponentVersion (string)The version the instance's reference resolved to.
- retry_afterstring or nulloptionalWhen the platform next checks whether a held step can start, RFC 3339 — the wait timer's expiry, or the next check of the concurrency lock. Absent when nothing is scheduled, including while waiting for an approval, which a person gives rather than a clock.
- started_atstring or nulloptional
- waiting_onNodeWaitKindapprovalwait_timerconcurrency_lockor nulloptionalWhy a step that has not started is being held: it is waiting for an approval, for an environment's wait timer, or for another run to release its concurrency lock. Absent for a step that is simply waiting for the steps before it.
- next_tokenstring or nulloptional
Example
Synthesized example{
"items": [
{
"attempt": 0,
"capability_id": "f3d73e61-430a-4815-963b-1f4bea796da8",
"history": [],
"logs_href": "logs-href-828f",
"node_id": "03f2d0ba-3b49-4acf-94e7-c435701391fb",
"node_run_id": "bb03aa71-dae5-4b06-806a-d3ea128e43b8",
"provider_id": "7d218f02-cab8-48f0-aa36-6d84c8ccddfe",
"stage_id": "d63ef84a-cb66-4210-a523-78ecf243971a",
"stage_index": 2,
"status": "pending"
},
{
"attempt": 5,
"capability_id": "bcf015f1-f652-4ec4-9ece-716b8fe4ebf4",
"history": [],
"logs_href": "logs-href-ab95",
"node_id": "e5d22167-8767-41c5-af90-a9aa613e9e14",
"node_run_id": "186df1f4-e747-437e-9b73-bb906f489ccf",
"provider_id": "63fab30c-9184-400f-afb6-593bfebb391b",
"stage_id": "603937ad-5e55-4b32-b39e-c62949ce0a3c",
"stage_index": 0,
"status": "pending"
}
],
"next_token": "next-token-fe31"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation