<@U04S8PLJWMT> in which version of airbyte was /ap...
# ask-ai
a
@kapa.ai in which version of airbyte was /api/v1/workspaces/list deprecated completely?
k
I'm sorry, but the knowledge sources do not explicitly state in which version of Airbyte the
/api/v1/workspaces/list
endpoint was completely deprecated. However, the documentation does indicate that the Configuration API (which included endpoints like
/api/v1/workspaces/list
) is now deprecated and no longer supported, and users are directed to use the new Airbyte Public API endpoints such as
/api/public/v1/workspaces
instead. This change is referenced in documentation for versions 1.6, 1.7, and 1.8, but none of these sources specify the exact version when
/api/v1/workspaces/list
was fully removed or became non-functional. If you need the precise version, you may need to consult Airbyte's changelogs or GitHub release notes for more detailed information on API deprecations [API documentation](https://docs.airbyte.com/platform/1.8/api-documentation).
a
@kapa.ai seems like there is no longer an endpoint to get stats of the job in the new public api. is that correct?
k
A message from kapa.ai
Based on the knowledge sources, the new Airbyte Public API does provide endpoints to retrieve job details, including statistics such as status, duration, bytes synced, and rows synced. Specifically, the endpoint
GET /jobs/{jobId}
returns job status and details, including fields like
status
,
duration
,
bytesSynced
, and
rowsSynced
 [Airbyte Public API - Jobs](https://reference.airbyte.com/reference/start). Here is an example of the fields returned: - jobId - status (pending, running, incomplete, failed, succeeded, cancelled) - jobType (sync, reset) - startTime - connectionId - lastUpdatedAt - duration (ISO_8601 format) - bytesSynced - rowsSynced So, it is possible to get job statistics using the new public API. The endpoint to use is:
Copy code
GET /jobs/{jobId}
This will provide you with the relevant job statistics you are looking for. Therefore, your statement is not correct—the new public API does support retrieving job stats [Airbyte Public API - Jobs](https://reference.airbyte.com/reference/start).
a
@kapa.ai recordsemitted v/s recordscommitted and number of attempts is not available anymore
k
A message from kapa.ai
You are correct that, based on the information in the knowledge sources, the new Airbyte Public API’s
GET /jobs/{jobId}
endpoint provides high-level job statistics such as
bytesSynced
and
rowsSynced
, but it does not explicitly mention detailed metrics like
recordsEmitted
,
recordsCommitted
, or the number of attempts for a job. The response example and schema only include fields for job status, type, start time, duration, bytes synced, and rows synced, but not the more granular replication stats or attempt counts that were available in previous internal or configuration APIs [Airbyte Public API - Jobs](https://reference.airbyte.com/reference/start). Therefore, as per the available documentation, detailed stats such as
recordsEmitted
,
recordsCommitted
, and the number of attempts are not exposed in the new public API. If you require these specific metrics, you may need to look for them in logs, internal databases, or other monitoring endpoints, but they are not part of the new public API response.