Get a step of a pipeline
Retrieve a given step of a pipeline.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
The repository.
The UUID of the pipeline.
The UUID of the step.
Responses
Section titled “ Responses ”The step.
object
The UUID identifying the step.
The timestamp when the step execution was started. This is not set when the step hasn’t executed yet.
The timestamp when the step execution was completed. This is not set if the step is still in progress.
object
The definition of a Docker image that can be used for a Bitbucket Pipelines step execution context.
object
The name of the image. If the image is hosted on DockerHub the short name can be used, otherwise the fully qualified name is required here.
The username needed to authenticate with the Docker registry. Only required when using a private Docker image.
The password needed to authenticate with the Docker registry. Only required when using a private Docker image.
The email needed to authenticate with the Docker registry. Only required when using a private Docker image.
The list of commands that are executed as part of the setup phase of the build. These commands are executed outside the build container.
An executable pipeline command.
object
The name of the command.
The executable command.
The list of build commands. These commands are executed in the build container.
An executable pipeline command.
object
The name of the command.
The executable command.
Example generated
{ "type": "example", "uuid": "example", "started_on": "2026-04-15T12:00:00Z", "completed_on": "2026-04-15T12:00:00Z", "state": { "type": "example" }, "image": { "name": "example", "username": "example", "password": "example", "email": "example" }, "setup_commands": [ { "name": "example", "command": "example" } ], "script_commands": [ { "name": "example", "command": "example" } ]}No account, repository, pipeline or step with the UUID provided exists for the pipeline with the UUID provided.
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
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}