Parsing
ModelsExpand Collapse
BBox = object { h, w, x, 5 more }
Bounding box with coordinates and optional metadata.
h: number
Height of the bounding box
w: number
Width of the bounding box
x: number
X coordinate of the bounding box
y: number
Y coordinate of the bounding box
confidence: optional number
Confidence score
end_index: optional number
End index in the text
label: optional string
Label for the bounding box
start_index: optional number
Start index in the text
FailPageMode = "raw_text" or "blank_page" or "error_message"
Enum for representing the different available page error handling modes.
ListItem = object { items, md, ordered, 2 more }
List of nested text or list items
TextItem = object { md, value, bbox, type }
md: string
Markdown representation preserving formatting
value: string
Text content
List of bounding boxes
h: number
Height of the bounding box
w: number
Width of the bounding box
x: number
X coordinate of the bounding box
y: number
Y coordinate of the bounding box
confidence: optional number
Confidence score
end_index: optional number
End index in the text
label: optional string
Label for the bounding box
start_index: optional number
Start index in the text
type: optional "text"
Text item type
ListItem = object { items, md, ordered, 2 more }
List of nested text or list items
TextItem = object { md, value, bbox, type }
md: string
Markdown representation preserving formatting
value: string
Text content
List of bounding boxes
h: number
Height of the bounding box
w: number
Width of the bounding box
x: number
X coordinate of the bounding box
y: number
Y coordinate of the bounding box
confidence: optional number
Confidence score
end_index: optional number
End index in the text
label: optional string
Label for the bounding box
start_index: optional number
Start index in the text
type: optional "text"
Text item type
md: string
Markdown representation preserving formatting
ordered: boolean
Whether the list is ordered or unordered
List of bounding boxes
h: number
Height of the bounding box
w: number
Width of the bounding box
x: number
X coordinate of the bounding box
y: number
Y coordinate of the bounding box
confidence: optional number
Confidence score
end_index: optional number
End index in the text
label: optional string
Label for the bounding box
start_index: optional number
Start index in the text
type: optional "list"
List item type
md: string
Markdown representation preserving formatting
ordered: boolean
Whether the list is ordered or unordered
List of bounding boxes
h: number
Height of the bounding box
w: number
Width of the bounding box
x: number
X coordinate of the bounding box
y: number
Y coordinate of the bounding box
confidence: optional number
Confidence score
end_index: optional number
End index in the text
label: optional string
Label for the bounding box
start_index: optional number
Start index in the text
type: optional "list"
List item type
LlamaParseSupportedFileExtensions = ".pdf" or ".abw" or ".awt" or 141 more
Enum for supported file extensions.
ParsingJob = object { id, status, error_code, error_message }
Response schema for a parsing job.
Enum for representing the status of a job
ParsingLanguages = "af" or "az" or "bs" or 83 more
Enum for representing the languages supported by the parser.
ParsingMode = "parse_page_without_llm" or "parse_page_with_llm" or "parse_page_with_lvm" or 5 more
Enum for representing the mode of parsing to be used.
StatusEnum = "PENDING" or "SUCCESS" or "ERROR" or 2 more
Enum for representing the status of a job