Metadata
JSON output mode returns per-page text, markdown, images, and ordered items plus job metadata, with endpoints to retrieve extracted images and slide speaker notes.
In JSON mode, LlamaParse will return a data structure representing the parsed object. This is useful for further processing or analysis.
Retrieve a v1 job’s JSON result with GET /api/v1/parsing/job/{job_id}/result/json.
The endpoints and response shapes on this page are for Parse v1. For current Parse v2 SDK examples, see Retrieving Results; v2 uses expand and a different response format.
Result format
Section titled “Result format”{ "pages": [ ..page objects.. ], "job_metadata": { "job_pages": int, "job_is_cache_hit": boolean }}Page objects
Section titled “Page objects”Within page objects, the following keys may be present depending on your document.
page: The page number of the document.text: The text extracted from the page.md: The markdown version of the extracted text.images: Any images extracted from the page.items: An array ofheading,textandtableobjects in the order they appear on the page.
Retrieving images
Section titled “Retrieving images”Images are returned as an array of image objects, of the form:
{ "name": "img_p2_5.png", "height": 718, "width": 251}Retrieve an extracted image with GET /api/v1/parsing/job/{job_id}/result/image/{name}, using the image object’s name. The response contains binary image bytes; save the response body to a file.
Slide speaker notes
Section titled “Slide speaker notes”For certain presentation formats, if a slide contains speaker notes, the speaker notes will be extracted and returned in the slideSpeakerNotes entry for the page:
[ { "page": 1, "text": "Hello\nSlide with notes", "slideSpeakerNotes": "This is a speaker note", ... },...Currently supported formats for slide speaker notes extraction:
.pptx(PowerPoint 2007+)
For these formats, slide speaker notes extraction is supported in all parse modes except parse_page_with_lvm.