airbyte_wait_for_job
Poll an Airbyte job until it completes or times out, returning the final status. Use after triggering a job to wait for completion.
Instructions
Poll an internal job until it reaches a terminal status.
Uses the internal Configuration API (POST /jobs/get) to poll job status until it becomes succeeded, failed, cancelled, or incomplete, or until max_wait_seconds is reached.
When to Use: - After airbyte_trigger_refresh or airbyte_trigger_clear to block until the job finishes. - Automate workflows that need to know when a job completed.
When NOT to Use: - For a one-shot status check, use airbyte_get_job_details. - On Airbyte Cloud (internal API not available).
Returns: Final job summary when a terminal status is reached, or a timeout message if max_wait_seconds elapses first.
Examples: Wait up to 10 minutes for job 12345: params = { "job_id": 12345, "max_wait_seconds": 600 } Poll every 10 seconds: params = { "job_id": 12345, "poll_interval_seconds": 10 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |