List Extract Jobs
GET/api/v2/extract
List extraction jobs with optional filtering and pagination.
Filter by configuration_id, status, document_input_value,
or creation date range. Results are returned newest-first.
Use expand=configuration to include the full configuration used,
and expand=extract_metadata for per-field metadata.
Query Parameters
organization_id: optional string
project_id: optional string
Cookie Parameters
session: optional string
Returns
List Extract Jobs
curl https://api.cloud.llamaindex.ai/api/v2/extract \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"{
"items": [
{
"id": "ext-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"created_at": "2019-12-27T18:11:19.117Z",
"document_input_value": "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"project_id": "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"status": "COMPLETED",
"updated_at": "2019-12-27T18:11:19.117Z",
"configuration": {
"data_schema": {
"foo": {
"foo": "bar"
}
},
"cite_sources": true,
"confidence_scores": true,
"extract_version": "latest",
"extraction_target": "per_doc",
"lang": "en",
"max_pages": 10,
"parse_config_id": "cfg-11111111-2222-3333-4444-555555555555",
"parse_tier": "fast",
"system_prompt": "Extract all monetary values in USD. If a currency is not specified, assume USD.",
"target_pages": "1,3,5-7",
"tier": "cost_effective"
},
"configuration_id": "cfg-11111111-2222-3333-4444-555555555555",
"error_message": "error_message",
"extract_metadata": {
"field_metadata": {
"document_metadata": {
"foo": {
"foo": "bar"
}
},
"page_metadata": [
{
"foo": {
"foo": "bar"
}
}
],
"row_metadata": [
{
"foo": {
"foo": "bar"
}
}
]
},
"parse_job_id": "parse_job_id",
"parse_tier": "parse_tier"
},
"extract_result": {
"foo": {
"foo": "bar"
}
},
"metadata": {
"usage": {
"num_document_tokens": 0,
"num_output_tokens": 0,
"num_pages_extracted": 0
}
}
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"id": "ext-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"created_at": "2019-12-27T18:11:19.117Z",
"document_input_value": "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"project_id": "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"status": "COMPLETED",
"updated_at": "2019-12-27T18:11:19.117Z",
"configuration": {
"data_schema": {
"foo": {
"foo": "bar"
}
},
"cite_sources": true,
"confidence_scores": true,
"extract_version": "latest",
"extraction_target": "per_doc",
"lang": "en",
"max_pages": 10,
"parse_config_id": "cfg-11111111-2222-3333-4444-555555555555",
"parse_tier": "fast",
"system_prompt": "Extract all monetary values in USD. If a currency is not specified, assume USD.",
"target_pages": "1,3,5-7",
"tier": "cost_effective"
},
"configuration_id": "cfg-11111111-2222-3333-4444-555555555555",
"error_message": "error_message",
"extract_metadata": {
"field_metadata": {
"document_metadata": {
"foo": {
"foo": "bar"
}
},
"page_metadata": [
{
"foo": {
"foo": "bar"
}
}
],
"row_metadata": [
{
"foo": {
"foo": "bar"
}
}
]
},
"parse_job_id": "parse_job_id",
"parse_tier": "parse_tier"
},
"extract_result": {
"foo": {
"foo": "bar"
}
},
"metadata": {
"usage": {
"num_document_tokens": 0,
"num_output_tokens": 0,
"num_pages_extracted": 0
}
}
}
],
"next_page_token": "next_page_token",
"total_size": 0
}