post https://api.sensible.so/v0/extract/
Note: Use this endpoint for testing. Use the asynchronous extraction endpoints for production.
Extract data from a local document synchronously.
To explore this endpoint, use this interactive API reference, or use one of the following options:
- For a quick "hello world" response to this endpoint, see the API quickstart
- For a step-by-step tutorial about calling this endpoint, see Try synchronous extraction.
- Run this endpoint in the Sensible Postman collection.
There are two options for posting the document bytes.
- (often preferred) specify the non-encoded document bytes as the entire request body,and specify the
Content-Type
header, for example,"application/pdf" or "image/jpeg".
See the following for supported file formats. - Base64 encode the document bytes, specify them in a body "document" field, and specify application/json for the
Content-Type
header.
For a list of supported document file types, see Supported file types.