Hi guys i am new to airbyte setting it up communit...
# ask-ai
m
Hi guys i am new to airbyte setting it up community version on my local machine everything is working except APIs what i am doing wrong here below is my values.yaml
Copy code
workload-launcher:
  extraEnv:
    - name: AIRBYTE_ENABLE_UNSAFE_CODE
      value: "true"
connector-builder-server:
  extraEnv:
    - name: AIRBYTE_ENABLE_UNSAFE_CODE
      value: "true"
server:
  extraEnv:
    - name: AIRBYTE_PUBLIC_API_ENABLED
      value: "true"
webapp:
  extraEnv:
    - name: AIRBYTE_PUBLIC_API_ENABLED
      value: "true"
k
Your
values.yaml
file is mostly focused on enabling custom components (with
AIRBYTE_ENABLE_UNSAFE_CODE
) and attempting to enable the public API (with
AIRBYTE_PUBLIC_API_ENABLED
). However, based on the official Airbyte documentation, enabling API access in the Community (OSS) version does not require setting
AIRBYTE_PUBLIC_API_ENABLED
. Instead, API access is available by default, but you must use the correct API path. Key points for API access in Airbyte Community (OSS): - The API is available at the
/api/public/v1
path prefix. For example, to list workspaces, use:
Copy code
curl http://localhost:8000/api/public/v1/workspaces
If you use
/api/v1
instead, it will not work in the OSS version. This is a common mistake and is confirmed in both the documentation and community discussions [[API documentation](https://docs.airbyte.com/platform/api-documentation)](https://docs.airbyte.com/platform/api-documentation) and [GitHub discussion](https://github.com/airbytehq/airbyte/discussions/45182). - The
AIRBYTE_PUBLIC_API_ENABLED
environment variable is not mentioned as required for OSS/Community edition in the official documentation. The public API is simply available at the correct endpoint. - The environment variables you set for
AIRBYTE_ENABLE_UNSAFE_CODE
are only relevant if you want to enable custom components in the Connector Builder. They do not affect general API access [[How to enable Custom Components](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/custom-components#how-to-enable-custom-components)]. What you should do: 1. Make sure your Airbyte instance is running. 2. Use the
/api/public/v1
endpoint for all API calls in the Community version. 3. You do not need to set
AIRBYTE_PUBLIC_API_ENABLED
for API access in OSS. Example:
Copy code
bash curl http://localhost:8000/api/public/v1/workspaces
If you follow these steps and use the correct endpoint, your API requests should work as expected. If you still encounter issues, please provide the exact error message for further troubleshooting.
m
@kapa.ai can i enable workspace selection on UI of community version
k
A message from kapa.ai
I'm sorry, but according to the available knowledge sources, the Airbyte Community (open-source) version does not support workspace selection or management through the UI. Workspaces in the OSS version can only be managed via the API, and there is no UI for switching or selecting workspaces. This is confirmed in the official forum, where it is stated: > "There is no UI for workspaces in the OSS version, so you need to manage them using the API." [Forum Post: Multitenancy in open-source Airbyte](https://discuss.airbyte.io/t/2492) If you need workspace selection in the UI, this feature is available in Airbyte Cloud and Self-Managed Enterprise editions, but not in the Community version.