Skip to main content
Agent run ingestion can run as background jobs. Use these methods to track their progress.

Get Job Status

Parameters

collection_id
str
required
ID of the collection.
job_id
str
required
ID of the job to check.

Returns

status
dict
Job status information.

Batch Status Check

Check multiple jobs at once (up to 100).

Parameters

collection_id
str
required
ID of the collection.
job_ids
list[str]
required
List of job IDs to check. Maximum 100.

Returns

statuses
list[dict]
List of job status dictionaries (same shape as single status above).

Errors

  • ValueError — More than 100 job IDs provided

Example: Poll Until Complete

When using add_agent_runs with wait=True (the default), job polling is handled automatically. You only need manual polling when wait=False.