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

Get Job Status

Parameters

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

Returns

dict
Job status information.

Batch Status Check

Check multiple jobs at once (up to 100).

Parameters

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

Returns

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.