I need to programmatically list all the currently in progress bulk api jobs. I don't see any API methods available to do this.
The goal here is to be able to wait till there are no in progress bulk api jobs and then kick off a new one.
This is not a duplicate. I don't really care if I use APEX or the bulk api or what I use, but I need to be able to get a list of all jobs or ideally of all in progress jobs. Once I have the job ID I can get all the info I need. What I don't know how to do is get a list of all bulk api jobs.