Understand the output from calling the Parse API.
/parse/{parse_id}
endpoint, or using the get_parsed_result
SDK function.
ParseResult
object if you are using the Python SDK.
chunks
attribute of the JSON response. The number of chunks
depends on the chunking strategy you chose.
Chunking Strategy Options
outputs.document
attribute of the JSON response. This object has a list of Pages, each
encoded as a JSON object. Each outputs.document.pages[x]
contains the following attributes:
page_number
- The page number of the page.dimensions
- The width and height of the page in pixels.page_fragments
- The list of objects on the page. Each page fragment has the following attributes:
fragment_type
- The type of the object: section_header, title, text, table, figure, formula, form, key_value_region, document_index, list_item, table_caption, figure_caption, formula_caption, page_footer, page_header, page_number, signature, strikethrough
reading_order
- The reading order of the page fragments. This is the order in which the fragment would be read by a human.bbox
- The bounding box of the page fragment, in the format [x1, y1, x2, y2]
.content
- The actual content that is found on that fragment of the page.page_class
: The classification name you provided. This will match the name
field in your PageClassConfig
.page_numbers
: An array of page numbers (1-indexed) that match this classification.data
: The JSON object representing the data extracted that matches the input schema.page_numbers
: A list of page numbers where the structured data was searched for.schema_name
: The name of the schema provided by the user.