Hey team :wave: I’m working with Airbyte OSS and n...
# replication-troubleshooting
k
Hey team 👋 I’m working with Airbyte OSS and need to fetch the required input fields for creating a source. For example — if I pass a sourceDefinitionId, I’d like to get back the list of required and optional fields needed to create that source. Is there an endpoint in OSS that provides this? I couldn’t find one in the docs
k
I'm sorry, but the knowledge sources do not mention an Airbyte OSS API endpoint that, given a sourceDefinitionId, returns the required and optional input fields (i.e., the connector specification/schema) for creating a source. This functionality is not documented in the available OSS API references or tutorials. As a workaround, you can refer to the connector specification files directly in the [Connector Registry](https://connectors.airbyte.com/files/registries/v0/cloud_registry.json) or inspect the connector's Docker image/spec locally. However, there is no documented OSS API endpoint that programmatically returns the schema for a given source definition as part of the public API. If you need to see how the UI fetches these fields, you might consider inspecting the network requests made by the Airbyte web app, as suggested in community discussions, but this is not an officially documented or supported API method for OSS users[Forum Post: Airbyte API to python / Node.js application](https://discuss.airbyte.io/t/1587). If you need further details, you may want to open a feature request or check for updates in the official Airbyte OSS documentation.
k
I checked the Airbyte UI network tab and saw that it calls this endpoint to fetch source definition specs: curl 'http://localhost:8080/api/v1/source_definition_specifications/get' \ -H 'content-type: application/json' \ --data-raw '{ "sourceDefinitionId": "e2d65910-8c8b-40a1-ae7d-ee2416b2bfa2", "workspaceId": "d1f0f3fa-ea00-4a33-aab0-156b64436dfd" }' Is it safe to use this endpoint in production, or should we only rely on the officially documented public API? What are the best practices for fetching source specs programmatically in Airbyte OSS?
@kapa.ai
k
Sorry @Karthik, I'm not sure what you mean. Please try again. 👋
k
I checked the Airbyte UI network tab and saw that it calls this endpoint to fetch source definition specs: curl 'http://localhost:8080/api/v1/source_definition_specifications/get' \ -H 'content-type: application/json' \ --data-raw '{ "sourceDefinitionId": "e2d65910-8c8b-40a1-ae7d-ee2416b2bfa2", "workspaceId": "d1f0f3fa-ea00-4a33-aab0-156b64436dfd" }' Is it safe to use this endpoint in production, or should we only rely on the officially documented public API? What are the best practices for fetching source specs programmatically in Airbyte OSS?
@kapa.ai
k
Sorry @Karthik, I'm not sure what you mean. Please try again. 👋
k
I checked the Airbyte UI network tab and saw that it calls this endpoint to fetch source definition specs: curl 'http://localhost:8080/api/v1/source_definition_specifications/get' \ -H 'content-type: application/json' \ --data-raw '{ "sourceDefinitionId": "e2d65910-8c8b-40a1-ae7d-ee2416b2bfa2", "workspaceId": "d1f0f3fa-ea00-4a33-aab0-156b64436dfd" }' Is it safe to use this endpoint in production, or should we only rely on the officially documented public API? What are the best practices for fetching source specs programmatically in Airbyte OSS? @kapa.ai
k
A message from kapa.ai
The endpoint you found,
/api/v1/source_definition_specifications/get
, is not part of the officially documented public API for Airbyte OSS. According to the documentation, the only supported and stable API for programmatic access is the public API, which uses the
/api/public/v1
path prefix for OSS deployments. The internal API endpoints (like
/api/v1/source_definition_specifications/get
) are part of the "Configuration API," which is deprecated and not supported for managing your Airbyte workspace. The documentation explicitly states: > The configuration API is now deprecated and no longer supported. It is an internal API that is designed for communications between different Airbyte components rather than managing your Airbyte workspace. > Users utilize the Config API at their own risk. This API is utilized internally by the Airbyte Engineering team and may be modified in the future if the need arises. [API documentation (OSS)](https://docs.airbyte.com/platform/1.7/api-documentation) Best practice: You should only rely on the officially documented public API for production use. Using internal or deprecated endpoints like
/api/v1/source_definition_specifications/get
is not recommended, as they may change or be removed without notice, potentially breaking your integration. Current limitation: As of now, the public API does not provide an endpoint to fetch the connector specification (required/optional fields) for a given
sourceDefinitionId
in OSS. This is a known gap, and if this functionality is critical for your workflow, you may want to follow or upvote related feature requests in the Airbyte GitHub repository. Summary: - Do not use internal or deprecated endpoints in production. - Only use the officially documented public API. - There is no public API endpoint for fetching source specs in OSS at this time, based on the available documentation and knowledge sources. For updates, keep an eye on the [official API documentation](https://reference.airbyte.com/reference/getting-started) and [release notes](https://docs.airbyte.com/release_notes/).