Parsing
Parse
POST
Submit a file for document parsing. If you have configured a webhook, we will notify you when the job is complete.
For structured extraction, you can provide a schema to guide the extraction process. The schema can be in the form of a JSON Schema object.
The API call returns a job_id
, which you can use to retrieve the results of the job with your API key.
You can either use a managed file, tensorlake-<file_id>
, or provide a pre-signed URL or any HTTP URL, that can be used to download the file.
Your data is NOT sent to a third party service(OpenAI, Anthropic, etc), and uses our own models to parse the document.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Parse pages from a file
The response is of type object
.