Skip to content

Get Batch Job Status

BatchGetStatusResponse Beta.Batch.GetStatus(BatchGetStatusParamsparameters, CancellationTokencancellationToken = default)
GET/api/v1/beta/batch-processing/{job_id}

Get detailed status of a batch processing job.

Returns current progress percentage, file counts (total, processed, failed, skipped), and timestamps.

ParametersExpand Collapse
BatchGetStatusParams parameters
required string jobID
string? organizationID
string? projectID
ReturnsExpand Collapse
class BatchGetStatusResponse:

Detailed status response for a batch processing job.

required Job Job

Response schema for a batch processing job.

required string ID

Unique identifier for the batch job

required JobType JobType

Type of processing operation (parse or classify)

One of the following:
"classify"Classify
"extract"Extract
"parse"Parse
required string ProjectID

Project this job belongs to

required Status Status

Current job status

One of the following:
"cancelled"Cancelled
"completed"Completed
"dispatched"Dispatched
"failed"Failed
"pending"Pending
"running"Running
required Long TotalItems

Total number of items in the job

DateTimeOffset? CompletedAt

Timestamp when job completed

formatdate-time
DateTimeOffset? CreatedAt

Creation datetime

formatdate-time
string? DirectoryID

Directory being processed

DateTimeOffset EffectiveAt
string? ErrorMessage

Error message for the latest job attempt, if any.

Long FailedItems

Number of items that failed processing

string? JobRecordID

The job record ID associated with this status, if any.

Long ProcessedItems

Number of items processed so far

Long SkippedItems

Number of items skipped (already processed or size limit)

DateTimeOffset? StartedAt

Timestamp when job processing started

formatdate-time
DateTimeOffset? UpdatedAt

Update datetime

formatdate-time
string? WorkflowID

Async job tracking ID

required Double ProgressPercentage

Percentage of items processed (0-100)

maximum100
minimum0

Get Batch Job Status

BatchGetStatusParams parameters = new() { JobID = "job_id" };

var response = await client.Beta.Batch.GetStatus(parameters);

Console.WriteLine(response);
{
  "job": {
    "id": "bjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "job_type": "classify",
    "project_id": "proj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "status": "cancelled",
    "total_items": 0,
    "completed_at": "2019-12-27T18:11:19.117Z",
    "created_at": "2019-12-27T18:11:19.117Z",
    "directory_id": "dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "effective_at": "2019-12-27T18:11:19.117Z",
    "error_message": "error_message",
    "failed_items": 0,
    "job_record_id": "job_record_id",
    "processed_items": 0,
    "skipped_items": 0,
    "started_at": "2019-12-27T18:11:19.117Z",
    "updated_at": "2019-12-27T18:11:19.117Z",
    "workflow_id": "workflow_id"
  },
  "progress_percentage": 0
}
Returns Examples
{
  "job": {
    "id": "bjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "job_type": "classify",
    "project_id": "proj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "status": "cancelled",
    "total_items": 0,
    "completed_at": "2019-12-27T18:11:19.117Z",
    "created_at": "2019-12-27T18:11:19.117Z",
    "directory_id": "dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "effective_at": "2019-12-27T18:11:19.117Z",
    "error_message": "error_message",
    "failed_items": 0,
    "job_record_id": "job_record_id",
    "processed_items": 0,
    "skipped_items": 0,
    "started_at": "2019-12-27T18:11:19.117Z",
    "updated_at": "2019-12-27T18:11:19.117Z",
    "workflow_id": "workflow_id"
  },
  "progress_percentage": 0
}
Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/