<@U04SE163WC8> i am using following API to get las...
# replication-ask-ai
b
@kapa.ai i am using following API to get lastSync detail for a connection is that correct?
Copy code
<https://url/v1/connections/{connection0-id}/lastSync>
k
Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain details about an API endpoint for getting the last sync detail for a connection. I recommend checking the official Airbyte API documentation or reaching out to the Airbyte community for more specific guidance.
I'm sorry, but the information extracts provided do not contain any details about an API endpoint with the path
/v1/connections/{connection0-id}/lastSync
. However, you can verify the sync by checking the logs on the Airbyte Cloud dashboard. Here are the steps: 1. On the Airbyte Cloud dashboard, click Connections. The list of connections is displayed. Click on the connection you just set up. 2. The Sync History is displayed. Click on the first log in the sync history to view the log details. 3. Check the data at your destination. If you added a Destination Stream Prefix while setting up the connection, make sure to search for the stream name with the prefix. For more details, please refer to the [official documentation](https://docs.airbyte.com/cloud/getting-started-with-airbyte-cloud). If you're looking to interact with Airbyte's API, there's an example of using cURL to interact with the
/api/v1/connections/sync
endpoint in the [tutorial](https://airbyte.com/tutorials/how-to-use-airflow-and-airbyte-together). Please replace the
localhost:8000
with your actual Airbyte server address and the
[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]"}'
Please note that the above command will start a new sync and return the job details. It does not directly provide the details of the last sync. For more specific API details, I would recommend referring to the official Airbyte API documentation or reaching out to the Airbyte support team.