use api endpoint for build events

...now that it handles auth properly