Retrieve logs of a pipeline as a stream.
The logs stream catches up to the extent of the internally configured per-pipeline circular logs buffer (limited to a certain byte size and number of lines, whichever is reached first). After the catch-up, new lines are pushed whenever they become available.
It is possible for the logs stream to end prematurely due to the API server temporarily losing connection to the runner. In this case, it is needed to issue again a new request to this endpoint.
The logs stream will end when the pipeline is deleted, or if the runner restarts. Note that in both cases the logs will be cleared.
Path Parameters |
---|
pipeline_name string — REQUIREDUnique pipeline name |
Responses | ||||
---|---|---|---|---|
200 Pipeline logs retrieved successfully
| ||||
404 Pipeline with that name does not exist
| ||||
500
| ||||
503
|