List Classify Jobs
classifier.jobs.list(JobListParams**kwargs) -> SyncPaginatedCursor[ClassifyJob]
GET/api/v1/classifier/jobs
List classify jobs. Experimental: This endpoint is not yet ready for production use and is subject to change at any time.
Parameters
organization_id: Optional[str]
page_size: Optional[int]
page_token: Optional[str]
project_id: Optional[str]
Returns
List Classify Jobs
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
)
page = client.classifier.jobs.list()
page = page.items[0]
print(page.id){
"items": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"rules": [
{
"description": "contains invoice number, line items, and total amount",
"type": "invoice"
}
],
"status": "PENDING",
"user_id": "user_id",
"created_at": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"job_record_id": "job_record_id",
"mode": "FAST",
"parsing_configuration": {
"lang": "af",
"max_pages": 0,
"target_pages": [
0
]
},
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"project_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"rules": [
{
"description": "contains invoice number, line items, and total amount",
"type": "invoice"
}
],
"status": "PENDING",
"user_id": "user_id",
"created_at": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"job_record_id": "job_record_id",
"mode": "FAST",
"parsing_configuration": {
"lang": "af",
"max_pages": 0,
"target_pages": [
0
]
},
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}