Batching
Sometimes you'd like to submit a lot of input data for processing. Our batching interface is the best way to do so. This interface is not constrained by our API timeout. Results are made available at set intervals as portions of the job are completed.
Submitting a job
Begin by submitting a job for processing. Upon submission, a job id will be returned.
Checking the status of a job
Use this utility to check the status of a job.
Possible statuses include
NOT_SCHEDULED
- That job is not scheduled to run. Submit another jobSCHEDULED
- That job is in our queueRUNNING
- Job is currently runningDONE
- Job is completedERRORED
- Job encountered an error. This job will be retried and rescheduled automatically.CANCELED
- Job was canceled. Submit another job.
Get job results
Once the job is completed, or once progress has been made, get those results with this utility.
Cancelling a job
At any point in the job execution, you can cancel the running job.
You'll still be able to get job results after canceling.