Skip to main content

Overview

All Aifano processing endpoints return structured JSON with a consistent format. The core building blocks are chunks (logical sections of content) and blocks (individual elements like text, tables, and figures).

Parse Response

Top-Level Fields

Chunks

Chunks are logical sections of the document. Each chunk contains:

Blocks

Blocks are the atomic elements within a chunk. Each block has:

Block Types

Bounding Boxes

All coordinates are normalized (0.0 to 1.0) relative to the page dimensions:

Usage Object

Extract Response

Extract responses include the parsed data plus extracted fields:
The result matches the JSON schema you provided in the request.

Split Response

Split responses contain an array of categorized sections:

Edit Response

Edit responses return a download URL for the modified document: