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).
The URL of the file (provide either file_id
or url
).
The ID of the uploaded file (provide either file_id
or url
).
Unique identifier of the request.
Date and time when the request was created (in UTC timezone)
The URL to call when the request is completed.
1
The model to use for generating the response.
"vlm-1"
The domain identifier for the model.
document.file
, document.pdf
, document.generative
, document.markdown
, document.presentation
, document.invoice
, document.receipt
, document.resume
The schema to use for the model.
The detail level to use for the model.
auto
, hi
, lo
Whether to process the document in batch mode (async).
Optional metadata to pass to the model.
Response
Base prediction response for all API responses.
Unique identifier of the response.
Date and time when the request was created (in UTC timezone)
Date and time when the response was completed (in UTC timezone)
The response from the model.
The status of the job.