Akshata Shanbhag
11/11/2025, 11:18 AMkapa.ai
11/11/2025, 11:19 AM/jobs endpoint to list jobs and retrieve details such as status, duration, bytes synced, and rows synced. Here’s how you can do it: ### 1. List Jobs You can list jobs (optionally filtered by connectionId, jobType, status, etc.) using the following endpoint: GET https://api.airbyte.com/v1/jobs?connectionId=<YOUR_CONNECTION_ID> This will return a list of jobs with details like jobId, status, jobType, startTime, duration, bytesSynced, and rowsSynced. You can further filter or paginate the results using query parameters such as limit, offset, jobType, and `status`[Airbyte Public API - Jobs](https://reference.airbyte.com/reference/start). ### 2. Get Job Details To get detailed statistics for a specific job, use: GET https://api.airbyte.com/v1/jobs/{jobId} This will return details for the job, including: - status (e.g., running, succeeded, failed) - duration - bytesSynced - rowsSynced - startTime - lastUpdatedAt [Airbyte Public API - Jobs](https://reference.airbyte.com/reference/start). ### Example (C#) Here’s a code snippet that triggers a sync and then polls for job status and statistics: csharp // Trigger a job var client = new RestClient("https://api.airbyte.com/v1/jobs"); var request = new RestRequest(); request.AddHeader("accept", "application/json"); request.AddHeader("content-type", "application/json"); request.AddHeader("Authorization", "Bearer {YourApiKey}"); request.AddParameter("application/json", "{\"connectionId\":\"YourConnectionID\",\"jobType\":\"sync\"}", ParameterType.RequestBody); dynamic response = client.ExecutePost(request); // Get jobId from response var apiResponse = JsonConvert.DeserializeObject(response.Content); string jobId = apiResponse.jobId; // Poll for job status and stats while(jobStatus == "running") { client = new RestClient("https://api.airbyte.com/v1/jobs/" + jobId); request = new RestRequest(); request.AddHeader("accept", "application/json"); request.AddHeader("Authorization", "Bearer {YourApiKey}"); dynamic statusResponse = client.ExecuteGet(request); apiResponse = JsonConvert.DeserializeObject(statusResponse.Content); jobStatus = apiResponse.status; // Access stats: apiResponse.rowsSynced, apiResponse.bytesSynced, etc. Thread.Sleep(10000); } [Create and Monitor a Data Pipeline Using the Airbyte API](https://airbyte.com/tutorials/create-and-monitor-a-data-pipeline-using-the-airbyte-api) --- Summary: - Use GET /jobs to list jobs and see their stats. - Use GET /jobs/{jobId} to get detailed stats for a specific job. - Stats available include status, duration, bytes synced, and rows synced.Akshata Shanbhag
11/11/2025, 11:26 AMkapa.ai
11/11/2025, 11:26 AMkapa.ai
11/11/2025, 11:26 AM/jobs endpoint, which returns job-level statistics such as status, duration, bytesSynced, and rowsSynced. However, there is no mention of an endpoint that directly returns detailed attempt-level information or the specific metric rowsEmitted. The API response for listing jobs includes fields like jobId, status, jobType, startTime, duration, bytesSynced, and rowsSynced, but does not include per-attempt details or a rowsEmitted field. There is also no documented endpoint for retrieving attempts for a job or their granular stats in the referenced API documentation or forum discussions [Airbyte Public API - Jobs](https://reference.airbyte.com/reference/start) [Forum Post: Is it possible to fetch the sync history through Airbyte API?](https://discuss.airbyte.io/t/2235). Summary: - There is no documented Airbyte API endpoint that returns attempt-level details or the rowsEmitted metric. - The available endpoints provide job-level stats only. If you need attempt-level data, you may need to access the Airbyte internal database directly (see the attempts table in the data catalog), but this is not exposed via the public API [Airbyte Databases Data Catalog](https://docs.airbyte.com/platform/next/understanding-airbyte/database-data-catalog#jobs-database).Akshata Shanbhag
11/11/2025, 11:31 AMkapa.ai
11/11/2025, 11:31 AMkapa.ai
11/11/2025, 11:31 AM