Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get pipeline step docker log by REST API

Chris Hatch
November 22, 2025

I'd like to get the docker log shown in the screenshot below (see docker tab highlighted in blue) by REST API.

 

I can get the main log with /steps/{step_id}/logs/{log_id} where log_id the step_id.

How might I get the docker log?

 

Screenshot from 2025-11-23 06-34-02.png

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2025

Hey @Chris Hatch 

Welcome to the community!

We don't have an API endpoint for service logs. Could you please specify why you need this or provide a use case? I can then submit a feature request on your behalf.

Regards,
Syahrul

Chris Hatch
November 27, 2025

Hi Syahrul,

thanks. yes i'm building a Forge App to analyse pipelines and in particular docker builds. the idea is to suggest and make performance improvements based on previous runs.

actually another issue related to logs. when I download the steps log using /logs from inside my forge app i get an egress error because the logs are at micros--prod-east--bitbucketci-file-service--files.s3.amazonaws.com ...

i wonder if this or part of this domain could be added to the preapproved domains list (eg. https://developer.atlassian.com/platform/forge/analytics-tool-policy/) or if it could be streamed directly through the API https://api.bitbucket.org/2.0/ ?

Regards,

Chris.

Chris Hatch
December 5, 2025

@Syahrul  what do you think about my use case? do you think it can be added?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events