<@U04S8PLJWMT> I have created a custom source usin...
# ask-ai
j
@kapa.ai I have created a custom source using the airbyte ui builder - how do I obtain the source_type or definition_id for this custom source I've built?
k
To obtain the definition_id for a custom source you’ve built using the Airbyte UI Connector Builder, you should: 1. Open your custom connector in Airbyte. 2. Copy the definition ID from the URL of that connector. The documentation states: > "To get this value, open your custom connector in Airbyte and copy the definition ID from the URL of that connector." This is the recommended way to retrieve the
definition_id
for use in Terraform or API calls. [See example in docs](https://docs.airbyte.com/platform/next/terraform-documentation#step-2-create-a-source) The source_type is typically used for built-in or marketplace connectors and is not required for custom connectors created via the builder. For custom connectors, you should use the
definition_id
as described above. If you need to use the API, you can also list your custom YAML source definitions using the endpoint:
Copy code
GET /workspaces/{workspaceId}/definitions/declarative_sources/
This will return all YAML source definitions, including their IDs, for your workspace. [See release notes for API endpoints](https://docs.airbyte.com/release_notes/v-1.6#create-custom-connectors-from-yaml-or-docker-images-using-the-api-and-terraform) Summary: - For custom sources, use the
definition_id
from the connector’s URL in the Airbyte UI. - The
source_type
is not typically used for custom connectors built with the UI builder. If you need more details on how to use these IDs in Terraform or API calls, let me know!