NodeLogsResponse
One page of a step's logs. Every line carries its position in the whole log, so a client can jump anywhere in it without reading what comes before.
Shape
- first_lineinteger · int640–∞Position of the first line in this page.
itemsarray of LogRecord
- The LogRecord schema
- eventCustomerLogEvent
- lineinteger · int640–∞Position of this line in the whole log, counting from zero.
- timestampstringWhen the line was emitted, RFC 3339.
- node_statusNodeStatuspendingawaiting_approvaldispatchedrunningsucceededfailedtimed_outskippedcancelledWhere a step has got to.
- node_terminalboolean
- run_terminalboolean
- total_linesinteger · int640–∞Lines in the whole log — what a scrollbar is sized against.
- truncatedbooleanWhether output collection stopped at this step's log-size ceiling.
- next_lineinteger · int64 or nulloptional0–∞Line to ask for next, or absent at the end of the log.
Example
Synthesized example{
"first_line": 69,
"items": [
{
"event": {
"capability": "capability-f7ec",
"node_run_id": "0dc9f97b-cba6-41c1-a2f1-06d8c171aa06",
"pipeline_run_id": "9e2b7c41-3d5a-4f8e-b1c2-7a6d5e4f3c2b",
"type": "Started"
},
"line": 50,
"timestamp": "timestamp-6600"
},
{
"event": {
"capability": "capability-2b81",
"node_run_id": "1d71ea7e-3d99-4b77-a4d9-6ce68856af3f",
"pipeline_run_id": "9e2b7c41-3d5a-4f8e-b1c2-7a6d5e4f3c2b",
"type": "Started"
},
"line": 62,
"timestamp": "timestamp-cd07"
}
],
"node_status": "pending",
"node_terminal": false,
"run_terminal": false,
"total_lines": 7,
"truncated": false,
"next_line": 80
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.