Parsing
Parse File
Get Parse Job
List Parse Jobs
ModelsExpand Collapse
BBox { 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?: number | null
Confidence score
end_index?: number | null
End index in the text
label?: string | null
Label for the bounding box
start_index?: number | null
Start index in the text
FailPageMode = "raw_text" | "blank_page" | "error_message"
Enum for representing the different available page error handling modes.
ListItem { items, md, ordered, 2 more }
List of nested text or list items
TextItem { 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?: number | null
Confidence score
end_index?: number | null
End index in the text
label?: string | null
Label for the bounding box
start_index?: number | null
Start index in the text
type?: "text"
Text item type
ListItem { items, md, ordered, 2 more }
List of nested text or list items
TextItem { 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?: number | null
Confidence score
end_index?: number | null
End index in the text
label?: string | null
Label for the bounding box
start_index?: number | null
Start index in the text
type?: "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?: number | null
Confidence score
end_index?: number | null
End index in the text
label?: string | null
Label for the bounding box
start_index?: number | null
Start index in the text
type?: "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?: number | null
Confidence score
end_index?: number | null
End index in the text
label?: string | null
Label for the bounding box
start_index?: number | null
Start index in the text
type?: "list"
List item type
LlamaParseSupportedFileExtensions = ".pdf" | ".abw" | ".awt" | 141 more
Enum for supported file extensions.
ParsingJob { id, status, error_code, error_message }
Response schema for a parsing job.
Enum for representing the status of a job
ParsingLanguages = "af" | "az" | "bs" | 83 more
Enum for representing the languages supported by the parser.
ParsingMode = "parse_page_without_llm" | "parse_page_with_llm" | "parse_page_with_lvm" | 5 more
Enum for representing the mode of parsing to be used.
StatusEnum = "PENDING" | "SUCCESS" | "ERROR" | 2 more
Enum for representing the status of a job