Pretty much everything is in title, I am looking for a way to export Agent logs once build/release is completed automatically, so that I can make a POST request to slack with those logs and developers don't need to access Azure devops and lose time.
I found GET this (https://dev.azure.com/{organization}/{project}/_apis/build/builds/{buildId}/logs?api-version=5.1 ) but it is not what I am looking for.
If anyone knows or has any idea please let me know, thanks.