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 job
SCHEDULED- That job is in our queue
RUNNING- Job is currently running
DONE- Job is completed
ERRORED- 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.