Skip to main content
POST
Parse Document

Authorizations

Authorization
string
header
required

API key authentication. Use your Aifano API key (starts with ak_live_) as the Bearer token.

Body

application/json
input
required

The document to process. Accepts: (1) a public URL, (2) a presigned S3 URL, (3) an aifano://file_id from /upload, or (4) a jobid://job_id from a previous /parse call.

enhance
object
retrieval
object
formatting
object
spreadsheet
object
settings
object

Response

Successful parse response

job_id
string
required

Unique job identifier.

duration
number
required

Processing time in seconds.

usage
object
required
result
object
required

Parse result — either inline (full) or as a URL for large responses.