Get Parse Job
GET/api/v2/parse/{job_id}
Retrieve parse job with optional content or metadata.
Path Parameters
job_id: string
Query Parameters
organization_id: optional string
project_id: optional string
Cookie Parameters
session: optional string
Returns
Get Parse Job
curl https://api.cloud.llamaindex.ai/api/v2/parse/$JOB_ID \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"{
"job": {
"id": "id",
"project_id": "project_id",
"status": "PENDING",
"created_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"name": "name",
"updated_at": "2019-12-27T18:11:19.117Z"
},
"images_content_metadata": {
"images": [
{
"filename": "filename",
"index": 0,
"content_type": "content_type",
"presigned_url": "presigned_url",
"size_bytes": 0
}
],
"total_count": 0
},
"items": {
"pages": [
{
"items": [
{
"md": "md",
"value": "value",
"bbox": [
{
"h": 0,
"w": 0,
"x": 0,
"y": 0,
"confidence": 0,
"end_index": 0,
"label": "label",
"start_index": 0
}
],
"type": "text"
}
],
"page_height": 0,
"page_number": 0,
"page_width": 0,
"success": true
}
]
},
"markdown": {
"pages": [
{
"markdown": "markdown",
"page_number": 0,
"success": true
}
]
},
"markdown_full": "markdown_full",
"metadata": {
"pages": [
{
"page_number": 0,
"confidence": 0,
"cost_optimized": true,
"original_orientation_angle": 0,
"printed_page_number": "printed_page_number",
"slide_section_name": "slide_section_name",
"speaker_notes": "speaker_notes",
"triggered_auto_mode": true
}
]
},
"result_content_metadata": {
"foo": {
"size_bytes": 0,
"exists": true,
"presigned_url": "presigned_url"
}
},
"text": {
"pages": [
{
"page_number": 0,
"text": "text"
}
]
}
}Returns Examples
{
"job": {
"id": "id",
"project_id": "project_id",
"status": "PENDING",
"created_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"name": "name",
"updated_at": "2019-12-27T18:11:19.117Z"
},
"images_content_metadata": {
"images": [
{
"filename": "filename",
"index": 0,
"content_type": "content_type",
"presigned_url": "presigned_url",
"size_bytes": 0
}
],
"total_count": 0
},
"items": {
"pages": [
{
"items": [
{
"md": "md",
"value": "value",
"bbox": [
{
"h": 0,
"w": 0,
"x": 0,
"y": 0,
"confidence": 0,
"end_index": 0,
"label": "label",
"start_index": 0
}
],
"type": "text"
}
],
"page_height": 0,
"page_number": 0,
"page_width": 0,
"success": true
}
]
},
"markdown": {
"pages": [
{
"markdown": "markdown",
"page_number": 0,
"success": true
}
]
},
"markdown_full": "markdown_full",
"metadata": {
"pages": [
{
"page_number": 0,
"confidence": 0,
"cost_optimized": true,
"original_orientation_angle": 0,
"printed_page_number": "printed_page_number",
"slide_section_name": "slide_section_name",
"speaker_notes": "speaker_notes",
"triggered_auto_mode": true
}
]
},
"result_content_metadata": {
"foo": {
"size_bytes": 0,
"exists": true,
"presigned_url": "presigned_url"
}
},
"text": {
"pages": [
{
"page_number": 0,
"text": "text"
}
]
}
}