I am trying to call a Jenkins API using
curl -X GET -L --user [USERID]:[API_TOKEN] http://JENKINS-HOST/job/JOB/api/json?tree=allBuilds[description,result]