Doc -> JSON
Generate structured prediction for the given document.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Request to the VLM API using a document (doc, docx, pptx, pdf).
Whether to process the document in batch mode (async).
The URL to call when the request is completed.
1
Date and time when the request was created (in UTC timezone)
The detail level to use for the model.
auto
, hi
, lo
The domain identifier for the model.
document.file
, document.pdf
, document.generative
, document.invoice
, document.markdown
, document.presentation
, document.receipt
, document.resume
, document.utility-bill
, healthcare.patient-referral
, healthcare.patient-medical-history
, healthcare.patient-consent
, healthcare.patient-intake
, healthcare.patient-insurance-card
, healthcare.patient-identification
The ID of the uploaded file (provide either file_id
or url
).
Unique identifier of the request.
The schema to use for the model.
Optional metadata to pass to the model.
The model to use for generating the response.
"vlm-1"
The URL of the file (provide either file_id
or url
).
Response
Base prediction response for all API responses.
Date and time when the response was completed (in UTC timezone)
Date and time when the request was created (in UTC timezone)
Unique identifier of the response.
The response from the model.
The status of the job.