Skip to main content
POST
This API requires authentication. See our Authentication Guide for details.

Features

  • Identifies document type (Invoice, PO, etc.)
  • Generates field schema based on content
  • Supports PDF and images (jpg, jpeg, png)
  • Accepts URL or base64-encoded file content
  • Maximum file size: 10MB

Request Body

document_url
string
URL of the document to analyze
file_content
string
Base64 encoded file content

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json

The body is of type Request Data · object.

Response

Successful Response

document_type
string
required
extraction_schema
ExtractionSchema · object
required
confidence
number
required
Required range: 0 <= x <= 1