Extract data from an unstructured source using a schema
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The schema ID. Create a schema first using the POST /schemas endpoint.
"ec9cb821-6f69-4605-a7fc-0858667eb534"
The input type can be any of text, image, pdf, and webpage.
"image"
Optional. Can be either 'gpt-4o' or 'gpt-4o-mini', we will use 'gpt-4o' by default
gpt-4.1, gpt-4.1-mini "gpt-4.1"
When type is: PDF - Pass a valid and accesible pdf url
Image - Pass a valid and accesible image url
Webpage - Pass a valid and accesible webpage url
Text - Text content to extract data from
"https://8ddf98.jpg"