Trigger Airbyte Sync/Reset
Trigger sync or reset jobs for one or more Airbyte connections with real-time progress monitoring and comprehensive status reporting.CLI Command
Options
Recommended SetupFor security and convenience, set your Airbyte credentials as environment variables:For Airbyte Cloud:For Airbyte Server:
Job Examples
Sync a single connection (Airbyte Cloud)
Sync multiple connections in parallel
Trigger job without waiting for completion
Custom workspace and timeout
Sample Output
List Airbyte Connections
List all available Airbyte connections with their IDs, status, and configuration details.CLI Command
Options
Usage Examples
Sample Output
Job Status Reference
Understanding the status indicators in the output:Job Status
- β succeeded: Job completed successfully
- β failed: Job failed and needs attention
- π« cancelled: Job was cancelled before completion
- β οΈ incomplete: Job finished but may be incomplete
- π running: Job is currently executing
- β³ pending: Job is queued and waiting to start
Connection Status
- β active: Connection is enabled and ready for jobs
- βΈοΈ inactive: Connection is disabled
- β deprecated: Connection is deprecated and should be updated
Platform Support
Airbyte Cloud
- Authentication: OAuth 2.0 with client credentials
- Base URL:
https://api.airbyte.com/v1 - Setup: Get credentials from Airbyte Cloud Settings
Airbyte Server (Self-hosted)
- Authentication: API key and secret
- Base URL: Custom (e.g.,
http://localhost:8001/api/v1) - Setup: Generate API credentials in your Airbyte Server admin panel
Important Notes
- Parallel Execution: Multiple connections process jobs simultaneously for efficiency
- Real-time Monitoring: Live progress updates show job status with timestamps
- Platform Flexibility: Works with both Cloud and self-hosted deployments
- Job Types: Supports both sync (incremental) and reset (full refresh) operations
- Long-running Operations: Default 24-hour timeout accommodates large data syncs
- Connection Identification: Use exact connection IDs from your Airbyte dashboard
Environment Variable Reference
Troubleshooting Common Issues
Inactive Connections
If connections are inactive, jobs may fail. Check connection status in your Airbyte dashboard and ensure sources and destinations are properly configured.Authentication Errors
For authentication issues:- Cloud: Verify client ID and secret in Airbyte Cloud settings
- Server: Verify API key and secret in your server admin panel
Network Timeouts
For very large datasets, consider increasing the timeout:Finding Connection IDs
Use the list command to discover available connection IDs:Platform-specific Issues
Airbyte Cloud:- Ensure youβre using OAuth client credentials, not personal access tokens
- Check your Airbyte Cloud subscription limits
- Verify the base URL is accessible from your environment
- Ensure API access is enabled in your server configuration
- Check server logs for detailed error messages
Workflow Integration
These Fivetran CLI commands are designed to integrate seamlessly into your data pipeline workflows. Common use cases include:- Pre-dbtβ’ Sync: Trigger Airbyte syncs before running dbtβ’ or other transformations.
- Scheduled Data Ingestion: Automate regular sync cycles for critical data sources.
- Event-driven Syncs: Trigger syncs based on external events or schedules
- Multi-source Orchestration: Coordinate syncs across multiple data connectors
API Rate Limits
Be aware of API rate limits when running multiple concurrent jobs:- Airbyte Cloud: Respects standard API rate limits
- Airbyte Server: Depends on your server configuration and resources