List Extraction Agents
extraction.extraction_agents.list(ExtractionAgentListParams**kwargs) -> ExtractionAgentListResponse
GET/api/v1/extraction/extraction-agents
List Extraction Agents
Parameters
organization_id: Optional[str]
project_id: Optional[str]
Returns
List Extraction Agents
import os
from llama_cloud import LlamaCloud
client = LlamaCloud(
api_key=os.environ.get("LLAMA_CLOUD_API_KEY"), # This is the default and can be omitted
)
extract_agents = client.extraction.extraction_agents.list()
print(extract_agents)[
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"config": {
"chunk_mode": "PAGE",
"citation_bbox": true,
"cite_sources": true,
"confidence_scores": true,
"extract_model": "openai-gpt-4-1",
"extraction_mode": "FAST",
"extraction_target": "PER_DOC",
"high_resolution_mode": true,
"invalidate_cache": true,
"multimodal_fast_mode": true,
"num_pages_context": 1,
"page_range": "page_range",
"parse_model": "openai-gpt-4o",
"priority": "low",
"system_prompt": "system_prompt",
"use_reasoning": true
},
"data_schema": {
"foo": {
"foo": "bar"
}
},
"name": "name",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"custom_configuration": "default",
"updated_at": "2019-12-27T18:11:19.117Z"
}
]Returns Examples
[
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"config": {
"chunk_mode": "PAGE",
"citation_bbox": true,
"cite_sources": true,
"confidence_scores": true,
"extract_model": "openai-gpt-4-1",
"extraction_mode": "FAST",
"extraction_target": "PER_DOC",
"high_resolution_mode": true,
"invalidate_cache": true,
"multimodal_fast_mode": true,
"num_pages_context": 1,
"page_range": "page_range",
"parse_model": "openai-gpt-4o",
"priority": "low",
"system_prompt": "system_prompt",
"use_reasoning": true
},
"data_schema": {
"foo": {
"foo": "bar"
}
},
"name": "name",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"custom_configuration": "default",
"updated_at": "2019-12-27T18:11:19.117Z"
}
]