Get build logs via API

slack
api

#1

Hey,

I’m trying to build out a slack bot to run our deploys I can get it to trigger a new build retry using the v1.1 API and I can get notified of build success/failure via the Webhook notification but I’m looking to stream build progress back to slack somehow. Is there an API I can use that will give me back logs (preferably nested inside step info) as a build is processing? This can either be via polling or via a push, not too fussy at this point :slight_smile:

Thanks,
Alex


#2

Ah think I found it, there is a messages key I didn’t spot here! https://circleci.com/docs/api/v1-reference/#build

Will check it out to see what the schema is and report back if needs be. Feel free to close for now :slight_smile:


#3

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.