Is there an API to get the build/deploy logs?

I’m working on building a project for a client using Netlify. I need to display the build logs to the client regardless of whether the build succeeds or fails. After reviewing the Netlify API documentation (https://open-api.netlify.com/), I couldn’t find any API specifically for retrieving build logs. Is this something that can be achieved?

Hi @aditya_b007,

Thanks for reaching out and welcome to Netlify’s Support Forums!

I found this Netlify Forum thread here and it appears you can’t access deploy logs via the API: