Skip to content

Parsing

Parse File
parsing.create(ParsingCreateParams**kwargs) -> ParsingCreateResponse
POST/api/v2/parse
Get Parse Job
parsing.get(strjob_id, ParsingGetParams**kwargs) -> ParsingGetResponse
GET/api/v2/parse/{job_id}
List Parse Jobs
parsing.list(ParsingListParams**kwargs) -> SyncPaginatedCursor[ParsingListResponse]
GET/api/v2/parse
Cancel Parse Job
parsing.cancel(strjob_id, ParsingCancelParams**kwargs) -> ParsingCancelResponse
POST/api/v2/parse/{job_id}/cancel
Delete Parse Job
parsing.delete(strjob_id, ParsingDeleteParams**kwargs) -> ParsingDeleteResponse
DELETE/api/v2/parse/{job_id}
List Parse Versions
parsing.list_versions() -> ParsingListVersionsResponse
GET/api/v2/parse/versions
ModelsExpand Collapse
class BBox: …

Bounding box with coordinates and optional metadata.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

class CodeItem: …
md: str

Markdown representation preserving formatting

value: str

Code content

bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

language: Optional[str]

Programming language identifier

type: Optional[Literal["code"]]

Code block item type

Literal["blank_page", "error_message", "raw_text"]

Enum for representing the different available page error handling modes.

One of the following:
"blank_page"
"error_message"
"raw_text"

List of items within the footer

One of the following:
class CodeItem: …
md: str

Markdown representation preserving formatting

value: str

Code content

bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

language: Optional[str]

Programming language identifier

type: Optional[Literal["code"]]

Code block item type

class HeadingItem: …
level: int

Heading level (1-6)

md: str

Markdown representation preserving formatting

value: str

Heading text content

bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

type: Optional[Literal["heading"]]

Heading item type

class ImageItem: …
caption: str

Image caption

md: str

Markdown representation preserving formatting

url: str

URL to the image

bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

type: Optional[Literal["image"]]

Image item type

Markdown representation preserving formatting

Display text of the link

URL of the link

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

Link item type

class ListItem: …
items: List[Item]

List of nested text or list items

One of the following:
class TextItem: …
md: str

Markdown representation preserving formatting

value: str

Text content

bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

type: Optional[Literal["text"]]

Text item type

md: str

Markdown representation preserving formatting

ordered: bool

Whether the list is ordered or unordered

bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

type: Optional[Literal["list"]]

List item type

class TableItem: …
csv: str

CSV representation of the table

html: str

HTML representation of the table

md: str

Markdown representation preserving formatting

rows: List[List[Union[str, float, null]]]

Table data as array of arrays (string, number, or null)

One of the following:
str
float
bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

merged_from_pages: Optional[List[int]]

List of page numbers with tables that were merged into this table (e.g., [1, 2, 3, 4])

merged_into_page: Optional[int]

Populated when merged into another table. Page number where the full merged table begins (used on empty tables).

parse_concerns: Optional[List[ParseConcern]]

Quality concerns detected during table extraction, indicating the table may have issues

details: str

Human-readable details about the concern

type: str

Type of parse concern (e.g. header_value_type_mismatch, inconsistent_row_cell_count)

type: Optional[Literal["table"]]

Table item type

class TextItem: …
md: str

Markdown representation preserving formatting

value: str

Text content

bbox: Optional[List[BBox]]

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

type: Optional[Literal["text"]]

Text item type

Markdown representation preserving formatting

List of bounding boxes

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

Page footer container

class Form: …

One form detected on a page, in two representations of the same content.

json: List[Json]

Structured representation: an ordered tree of sections, fields, tables, and text

One of the following:
class FormField: …

One labeled form entry: a text input, checkbox, select group, or signature line.

field: Literal["checkbox", "multi_select", "signature", 2 more]

Kind of entry: text (any free-text input), checkbox, single_select, multi_select, or signature

One of the following:
"checkbox"
"multi_select"
"signature"
"single_select"
"text"
id: Optional[str]

Field number/letter printed on the form (e.g. ‘1a’), if any

bbox: Optional[List[BBox]]

Bounding boxes of the field’s fillable area on the page.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

is_empty: Optional[bool]

True for a printed-but-blank text field (mutually exclusive with value)

label: Optional[str]

Printed field caption, if any

type: Optional[Literal["field"]]

Form field node

value: Optional[Union[str, bool, null]]

Entered content: verbatim text for text fields, or a boolean for checkbox (checked) and signature (signed). Absent on blank text fields and on select groups

One of the following:
str
bool
value_items: Optional[List[ValueItem]]

Options of a single_select/multi_select group (only on select fields)

One of the following:
class FormSection: …

A grouping of form content, in the form’s reading order.

items: List[Item]

Child form nodes in reading order

One of the following:
class FormTable: …

A fillable grid printed on the form: repeating records or a row-by-column matrix.

rows: List[List[Optional[Row]]]

Table cells: a verbatim string, null for a printed-but-blank cell, or an object holding the cell’s own form nodes

One of the following:
str
class FormTableCellItems: …

A table cell holding its own form nodes (e.g. a checkbox column).

items: List[Item]

Form nodes inside the cell

One of the following:
class FormText: …

Printed text that is not part of a field, section heading or table: a title, an instruction, a note. With it the form JSON holds every printed word of its region.

value: str

The printed text, verbatim

bbox: Optional[List[BBox]]

Bounding boxes of the text on the page, if attributed.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

type: Optional[Literal["text"]]

Form text node

id: Optional[str]

Identifier printed on the form, if any

bbox: Optional[List[BBox]]

Bounding boxes of the table’s fillable regions on the page.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

columns: Optional[List[str]]

Printed column headers in order, if any

grounding: Optional[Grounding]

Scalar text grounding aligned with the table’s columns and ragged rows.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

columns: Optional[List[GroundingColumn]]

Column text grounding in source order; blank slots have empty lines

lines: List[GroundingColumnLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingColumnLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingColumnLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

rows: Optional[List[List[GroundingRow]]]

Scalar cell text grounding aligned with rows; blank and structured slots have empty lines. Structured children carry their own grounding.

lines: List[GroundingRowLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingRowLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingRowLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

html: Optional[str]

HTML representation of the table, as a regular table item has.

label: Optional[str]

Printed table caption, if any

type: Optional[Literal["table"]]

Form table node

class FormText: …

Printed text that is not part of a field, section heading or table: a title, an instruction, a note. With it the form JSON holds every printed word of its region.

value: str

The printed text, verbatim

bbox: Optional[List[BBox]]

Bounding boxes of the text on the page, if attributed.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

type: Optional[Literal["text"]]

Form text node

id: Optional[str]

Identifier printed on the form (e.g. ‘Part III’), if any

grounding: Optional[Grounding]

Optional grounding for printed identifiers and headings.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[str]

Printed section heading, if any

type: Optional[Literal["section"]]

Form section node

class FormTable: …

A fillable grid printed on the form: repeating records or a row-by-column matrix.

rows: List[List[Optional[Row]]]

Table cells: a verbatim string, null for a printed-but-blank cell, or an object holding the cell’s own form nodes

One of the following:
str
class FormTableCellItems: …

A table cell holding its own form nodes (e.g. a checkbox column).

items: List[Item]

Form nodes inside the cell

One of the following:
class FormSection: …

A grouping of form content, in the form’s reading order.

items: List[Item]

Child form nodes in reading order

One of the following:
class FormText: …

Printed text that is not part of a field, section heading or table: a title, an instruction, a note. With it the form JSON holds every printed word of its region.

value: str

The printed text, verbatim

bbox: Optional[List[BBox]]

Bounding boxes of the text on the page, if attributed.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

type: Optional[Literal["text"]]

Form text node

id: Optional[str]

Identifier printed on the form (e.g. ‘Part III’), if any

grounding: Optional[Grounding]

Optional grounding for printed identifiers and headings.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[str]

Printed section heading, if any

type: Optional[Literal["section"]]

Form section node

class FormText: …

Printed text that is not part of a field, section heading or table: a title, an instruction, a note. With it the form JSON holds every printed word of its region.

value: str

The printed text, verbatim

bbox: Optional[List[BBox]]

Bounding boxes of the text on the page, if attributed.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

type: Optional[Literal["text"]]

Form text node

id: Optional[str]

Identifier printed on the form, if any

bbox: Optional[List[BBox]]

Bounding boxes of the table’s fillable regions on the page.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

columns: Optional[List[str]]

Printed column headers in order, if any

grounding: Optional[Grounding]

Scalar text grounding aligned with the table’s columns and ragged rows.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

columns: Optional[List[GroundingColumn]]

Column text grounding in source order; blank slots have empty lines

lines: List[GroundingColumnLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingColumnLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingColumnLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

rows: Optional[List[List[GroundingRow]]]

Scalar cell text grounding aligned with rows; blank and structured slots have empty lines. Structured children carry their own grounding.

lines: List[GroundingRowLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingRowLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingRowLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

html: Optional[str]

HTML representation of the table, as a regular table item has.

label: Optional[str]

Printed table caption, if any

type: Optional[Literal["table"]]

Form table node

class FormText: …

Printed text that is not part of a field, section heading or table: a title, an instruction, a note. With it the form JSON holds every printed word of its region.

value: str

The printed text, verbatim

bbox: Optional[List[BBox]]

Bounding boxes of the text on the page, if attributed.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

type: Optional[Literal["text"]]

Form text node

class FormSection: …

A grouping of form content, in the form’s reading order.

items: List[Item]

Child form nodes in reading order

One of the following:
class FormField: …

One labeled form entry: a text input, checkbox, select group, or signature line.

field: Literal["checkbox", "multi_select", "signature", 2 more]

Kind of entry: text (any free-text input), checkbox, single_select, multi_select, or signature

One of the following:
"checkbox"
"multi_select"
"signature"
"single_select"
"text"
id: Optional[str]

Field number/letter printed on the form (e.g. ‘1a’), if any

bbox: Optional[List[BBox]]

Bounding boxes of the field’s fillable area on the page.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

is_empty: Optional[bool]

True for a printed-but-blank text field (mutually exclusive with value)

label: Optional[str]

Printed field caption, if any

type: Optional[Literal["field"]]

Form field node

value: Optional[Union[str, bool, null]]

Entered content: verbatim text for text fields, or a boolean for checkbox (checked) and signature (signed). Absent on blank text fields and on select groups

One of the following:
str
bool
value_items: Optional[List[ValueItem]]

Options of a single_select/multi_select group (only on select fields)

One of the following:
class FormTable: …

A fillable grid printed on the form: repeating records or a row-by-column matrix.

rows: List[List[Optional[Row]]]

Table cells: a verbatim string, null for a printed-but-blank cell, or an object holding the cell’s own form nodes

One of the following:
str
class FormTableCellItems: …

A table cell holding its own form nodes (e.g. a checkbox column).

items: List[Item]

Form nodes inside the cell

One of the following:
class FormText: …

Printed text that is not part of a field, section heading or table: a title, an instruction, a note. With it the form JSON holds every printed word of its region.

value: str

The printed text, verbatim

bbox: Optional[List[BBox]]

Bounding boxes of the text on the page, if attributed.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

value: Optional[GroundingValue]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingValueLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingValueLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingValueLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

type: Optional[Literal["text"]]

Form text node

id: Optional[str]

Identifier printed on the form, if any

bbox: Optional[List[BBox]]

Bounding boxes of the table’s fillable regions on the page.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

columns: Optional[List[str]]

Printed column headers in order, if any

grounding: Optional[Grounding]

Scalar text grounding aligned with the table’s columns and ragged rows.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingIDLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingIDLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

columns: Optional[List[GroundingColumn]]

Column text grounding in source order; blank slots have empty lines

lines: List[GroundingColumnLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingColumnLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingColumnLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

label: Optional[GroundingLabel]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingLabelLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingLabelLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingLabelLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

rows: Optional[List[List[GroundingRow]]]

Scalar cell text grounding aligned with rows; blank and structured slots have empty lines. Structured children carry their own grounding.

lines: List[GroundingRowLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

words: Optional[List[GroundingRowLineWord]]

Per-word grounding within the line, when available

bbox: BBox

Word bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

chars: Optional[List[GroundingRowLineWordChar]]

Per-character grounding within the word, present when granular_bboxes includes ‘char’ (Agentic Plus only). Each box is an even split of the word box across the word’s characters.

bbox: BBox

Character bounding box

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

span: List[object]

[start, end) UTF-8 byte span in the complete source property string

html: Optional[str]

HTML representation of the table, as a regular table item has.

label: Optional[str]

Printed table caption, if any

type: Optional[Literal["table"]]

Form table node

class FormText: …

Printed text that is not part of a field, section heading or table: a title, an instruction, a note. With it the form JSON holds every printed word of its region.

value: str

The printed text, verbatim

bbox: Optional[List[BBox]]

Bounding boxes of the text on the page, if attributed.

h: float

Height of the bounding box

w: float

Width of the bounding box

x: float

X coordinate of the bounding box

y: float

Y coordinate of the bounding box

confidence: Optional[float]

Confidence score

end_index: Optional[int]

End index in the text

label: Optional[str]

Label for the bounding box

r: Optional[float]

Optional visual text rotation angle in degrees. Omitted when unrotated.

start_index: Optional[int]

Start index in the text

grounding: Optional[Grounding]

Optional grounding for a field’s printed text; boolean states have no text spans.

id: Optional[GroundingID]

Supported text with half-open UTF-8 byte spans into the complete property string.

lines: List[GroundingIDLine]

Supported lines. Word requests include supported words; gaps are valid. Boxes use final page coordinates and optional local rotation r.

bbox: BBox

Line bounding box

h: float

Height of the bounding box