Generate
Web -> JSON
Generate structured prediction for the given url.
POST
/
v1
/
web
/
generate
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Request to the VLM API (i.e. structured prediction).
The URL of the web page.
Minimum length:
1
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.
Minimum length:
1
The model to use for generating the response.
Allowed value:
"vlm-1"
The domain identifier.
Available options:
web.ecommerce-product-catalog
, web.github-developer-stats
, web.market-research
The mode to use for the model.
Available options:
fast
, accurate
Optional metadata to pass to the model.
Response
200 - application/json
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.