<@U04S8PLJWMT> what is the terminal command to kic...
# ask-ai
n
@kapa.ai what is the terminal command to kick off the sync of an airbyte connection?
k
To kick off the sync of an Airbyte connection from the terminal, you can use a cURL command to call the Airbyte API. Replace
[REPLACE WITH YOUR CONNECTION ID]
with your actual connection ID:
Copy code
bash curl  -u 'airbyte:password' -X POST "http://localhost:8000/api/v1/connections/sync" \  -H "Accept: application/json" \  -H "Content-Type: application/json" \  -d '{"connectionId":"[REPLACE WITH YOUR CONNECTION ID]"}'
This command will trigger a sync for the specified connection. You should see a response indicating that a sync job has started. You can verify the sync in the Airbyte UI as well [How to use Airflow and Airbyte together](https://airbyte.com/tutorials/how-to-use-airflow-and-airbyte-together).