Skip to main content

Low-Level control

Raw mode

Instead of returning a JSON object containing your parsed document, you can set LlamaParse to return the raw text extracted from the document by retrieving the data in "raw" mode. The raw result can be text, markdown or json.

Using the API:
curl -X 'POST' \
  'https://api.cloud.llamaindex.ai/api/job/{job_id}/raw/result/markdown'  \
  -H 'accept: application/json' \
  -H 'Content-Type: multipart/form-data' \
  -H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"