Retrieving logs (or raw output) for workflows/jobs

How can we retrieve the logs or raw output for workflow jobs?

It’s very time consuming for our engineers to figure out what tests have failed in CI. There’s a lot of menu diving in the CI dashboard before you get to a small log view that has to either be manually searched or downloaded. We need to build a tool to make this practical and not involve using a browser (e.g., via command line or IDE tool).

1 Like

Hi, have you found a solution?

You have re-opened a very old thread, so are unlikely to be able to get a reply from the original poster.

The CircleCI API provides access to information like this, but the examples are somewhat limited, with the starting point being

If you have anyone in your development team that is good at decoding rest API interfaces you should grab some of their time. If they are also able to work from the detail shown in a browser debugger they will be able to fully decode what is going on when they look at the information shown for all the steps of a workflow.

There is a small limitation, any API work should be done using the v2.0 version of the API, but if you decode the API calls used in the Dashboard you will see a mix of v1.1 and v2.0 calls.