post
https://api.sensible.so/v0/extract/
Note: Use this endpoint for testing. Use the asynchronous extraction endpoints when in 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-Typeheader, 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-Typeheader.
For a list of supported document file types, see Supported file types.
To get additional information about an extraction initiated with this endpoint, including signed download URLs and the error message for failed extractions, retrieve it via GET /documents/{id}.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…