Vu Nguyen
12/05/2025, 7:28 PMkapa.ai
12/05/2025, 7:28 PMYour name → User settings → Applications - Click Create an application and note the client_id and client_secret. [[Configuring API](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)] 2. Obtain an access token using those credentials For Airbyte Cloud: bash curl --request POST \ --url https://api.airbyte.com/api/v1/applications/token \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data '{ "client_id": "<YOUR_CLIENT_ID>", "client_secret": "<YOUR_CLIENT_SECRET>" }' This returns an access_token (Bearer token) that is short‑lived and must be refreshed regularly. [[Configuring API](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)] 3. Use the correct base URL and include the token - For Airbyte Cloud, API base URL is: https://api.airbyte.com/v1/ [[API docs](https://docs.airbyte.com/developers/api-documentation)] - Every request must include: Authorization: Bearer <ACCESS_TOKEN> If you’re getting “Access denied” for https://api.airbyte.com/v1/sources/discover_schema, the most likely causes, based on the docs, are: - No Authorization: Bearer <access_token> header, or the token is expired (tokens are short‑lived and must be re‑requested). [[Get token](https://docs.airbyte.com/platform/next/using-airbyte/configuring-api-access#step-2-get-an-access-token)] - The application key belongs to a user that doesn’t have permission on the workspace/source you’re trying to use (application keys inherit the user’s permissions). [[Configuring API](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)] The knowledge sources don’t show a specific permission toggle for discover_schema, so beyond ensuring you follow the token flow above and use a user with appropriate workspace access, there’s no additional documented “enablement” step for that endpoint.Vu Nguyen
12/05/2025, 7:35 PMVu Nguyen
12/05/2025, 7:41 PMVu Nguyen
12/05/2025, 7:42 PMkapa.ai
12/05/2025, 7:42 PMkapa.ai
12/05/2025, 7:42 PMVu Nguyen
12/05/2025, 11:08 PM/v1/sources/discover_schema api however other API is always successful. I'm curious why the discover_schema wasn't on the api documentation? Is this only available for self managed service and not the airbite cloud ?