Async Jobs
Create async OCR job
Submits an OCR request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result.
post/v1/async/ocr
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-bf-async-job-result-ttlinteger
Time-to-live in seconds for the job result after completion. Defaults to 3600 (1 hour). After expiry, the job result is automatically cleaned up.
Request body
Example request
{
"model": "mistral/mistral-ocr-latest"
}Response
Job accepted for processing
Changes
No recorded changes to this operation across all 1 revision of this API.