Skip to content

Get the logs for the build container or a service container for a given step of a pipeline.

GET
/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid}

Retrieve the log file for a build container or service container.

This endpoint supports (and encourages!) the use of HTTP Range requests to deal with potentially very large log files.

workspace
required
string

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slug
required
string

The repository.

pipeline_uuid
required
string

The UUID of the pipeline.

step_uuid
required
string

The UUID of the step.

log_uuid
required
string

For the main build container specify the step UUID; for a service container specify the service container UUID

The raw log file for the build container or service container.

After the step is completed, the log is moved to long term storage and a redirection to the log file is returned.

No account, repository, pipeline, step or log exist for the provided path.

Media type application/octet-stream
Error

Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.

object
type
required
string
error
object
message
required
string
detail
string
data

Optional structured data that is endpoint-specific.

object
key
additional properties
any
key
additional properties
any