Using API to OCR multiple image files, e.g. in a folder

Can I use the OCR API to OCR multiple image files in bulk/batch? If so, how?

/per