Fix and update documentation for build log API endpoint.