<@U04S8PLJWMT> I've created a custom connector usi...
# ask-ai
j
@kapa.ai I've created a custom connector using Builder, how can i get the configuration of my connector via API?
k
If you've created a custom connector using the Airbyte Connector Builder, you can retrieve its configuration (YAML manifest) via the Airbyte API. Airbyte provides specific API endpoints for managing custom connectors defined with YAML. To get the configuration of your custom connector, use the following endpoint:
Copy code
GET /workspaces/{workspaceId}/definitions/declarative_sources/{definitionId}
- Replace
{workspaceId}
with your Airbyte workspace ID. - Replace
{definitionId}
with the ID of your custom connector. This endpoint will return the YAML source definition (the configuration) of your custom connector. You can also list all YAML source definitions in your workspace using:
Copy code
GET /workspaces/{workspaceId}/definitions/declarative_sources/
These endpoints are available for both Airbyte OSS and Airbyte Cloud (with some limitations in Cloud: you can only create or modify custom connectors using a YAML manifest, not Docker images) [Create custom connectors from YAML or Docker images using the API and Terraform](https://docs.airbyte.com/release_notes/v-1.6#create-custom-connectors-from-yaml-or-docker-images-using-the-api-and-terraform). For more details and the full API reference, see the [Airbyte API reference docs](https://reference.airbyte.com/reference/getting-started#/).
A message from kapa.ai
If you've created a custom connector using the Airbyte Connector Builder, you can retrieve its configuration (YAML manifest) via the Airbyte API. Airbyte provides endpoints specifically for managing custom connectors defined with YAML. To get the configuration of your custom connector, use the following endpoint:
Copy code
GET /workspaces/{workspaceId}/definitions/declarative_sources/{definitionId}
- Replace
{workspaceId}
with your Airbyte workspace ID. - Replace
{definitionId}
with the ID of your custom connector. This endpoint will return the YAML source definition (the configuration) of your custom connector. You can also list all YAML source definitions in your workspace using:
Copy code
GET /workspaces/{workspaceId}/definitions/declarative_sources/
These endpoints are available in Airbyte's public API. For more details, see the [release notes on creating custom connectors from YAML using the API](https://docs.airbyte.com/release_notes/v-1.6#create-custom-connectors-from-yaml-or-docker-images-using-the-api-and-terraform).