List Batch Job Items
beta.batch.job_items.list(strjob_id, JobItemListParams**kwargs) -> SyncPaginatedBatchItems[JobItemListResponse]
GET/api/v1/beta/batch-processing/{job_id}/items
List items in a batch job with optional status filtering.
Useful for finding failed items, viewing completed items, or debugging processing issues.
List Batch Job Items
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.beta.batch.job_items.list(
job_id="job_id",
)
page = page.items[0]
print(page.item_id){
"items": [
{
"item_id": "item_id",
"item_name": "item_name",
"status": "pending",
"completed_at": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"job_id": "job_id",
"job_record_id": "job_record_id",
"skip_reason": "skip_reason",
"started_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"item_id": "item_id",
"item_name": "item_name",
"status": "pending",
"completed_at": "2019-12-27T18:11:19.117Z",
"effective_at": "2019-12-27T18:11:19.117Z",
"error_message": "error_message",
"job_id": "job_id",
"job_record_id": "job_record_id",
"skip_reason": "skip_reason",
"started_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}