Isaac Steele
11/26/2025, 3:45 PMrequests.get() and the python airbyte-api on sources for my source configuration information.
For example, when I get run a GET on ...v1/sources , my sources have connection information like configuration":{"auth_type":"Client","client_id":"myclient123456789","is_sandbox":true,"client_secret":"**********","refresh_token":"**********","streams_criteria":[],"stream_slice_step":"P30D","force_use_bulk_api":false}.
But when I use the python API get_source() or list_sources() the configuration information returned is just: configuration=SourceAirtable(credentials=None, SOURCE_TYPE=<SourceAirtableAirtable.AIRTABLE: 'airtable'>) .
This is an example from my salesforce connector, but the same is true for my other connectors as well, just giving the Airtable for configuration on all of them. Is this a python-api bug? How can I get/view my masked source configuration data from the python api?kapa.ai
11/26/2025, 3:45 PMGET /sources returns the raw configuration object with fields like client_id, refresh_token, etc. (with secrets masked as ************). [[Make first request](https://docs.airbyte.com/developers/api-documentation#make-your-first-api-request); [listSources](https://reference.airbyte.com/reference/start)] * In the Python airbyte-api client, the response is being deserialized into connector‑specific config models (e.g., SourceAirtable, SourceSalesforce). What you’re seeing (SourceAirtable(credentials=None, SOURCE_TYPE=...)) is that model’s __repr__, not the full JSON config. The knowledge sources here don’t document the Python client’s behavior in detail, nor how it handles masking, so I can’t say definitively whether this is a bug in the SDK. I also don’t see any official example that shows how to get the masked configuration via the Python SDK rather than via plain HTTP. From the docs, the reliable way to inspect masked source configuration is to call the HTTP Public API directly: bash curl --request GET \ --url 'https://api.airbyte.com/v1/sources?workspaceIds=<YOUR_WORKSPACE_ID>' \ --header 'accept: application/json' \ --header 'authorization: Bearer <YOUR_ACCESS_TOKEN>' which returns the configuration object you pasted. [[Make first request](https://docs.airbyte.com/developers/api-documentation#make-your-first-api-request)] If you need that same masked JSON while still using Python, the safest approach (per the docs we have) is to call the HTTP API from Python (e.g., with requests.get) and work with the configuration field from the JSON response, rather than relying on the SDK’s model representation. The knowledge sources do not explicitly describe a supported way in the Python airbyte-api SDK to retrieve the full, masked configuration object (as seen in the HTTP response), so any workaround inside the SDK would be speculative.