Skip to Content
API ReferenceMetrics DebuggingStream Pipeline Logs

Stream Pipeline Logs

GET/v0/pipelines/{pipeline_name}/logs
Authentication
Parameters

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.

Authentication

SchemeTypeDetails
JSON web token (JWT) or API keyBearer tokenAuthorization header · Use a JWT token obtained via an OAuth2/OIDC login workflow or an API key obtained via the `/v0/api-keys` endpoint.

Parameters

Path parameters

NameTypeRequiredDescription
pipeline_namestringYesUnique pipeline name

Response

text/plain
Pipeline logs retrieved successfully
  • string (binary)
Request
curl -X GET '/v0/pipelines/{pipeline_name}/logs' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
Pipeline logs retrieved successfully
"string"