cURL
curl --request GET \ --url https://app.datafold.com/api/v1/data_sources/{data_source_id} \ --header 'Authorization: <api-key>'
{ "name": "<string>", "type": "<string>", "catalog_exclude_list": "<string>", "catalog_include_list": "<string>", "created_from": "<string>", "data_retention_days": 123, "disable_profiling": false, "disable_schema_indexing": false, "float_tolerance": 0, "groups": {}, "hidden": false, "id": 123, "is_paused": false, "last_test": { "results": [ { "status": "needs_confirmation", "step": "connection", "result": "<unknown>" } ], "tested_at": "2023-11-07T05:31:56Z" }, "lineage_schedule": "<string>", "max_allowed_connections": 123, "oauth_dwh_active": true, "options": { "projectId": "<string>", "extraProjectsToIndex": "project1\nproject2", "jsonOAuthKeyFile": "<string>", "location": "US", "totalMBytesProcessedLimit": 123, "useStandardSql": true, "userDefinedFunctionResourceUri": "gs://bucket/date_utils.js" }, "profile_exclude_list": "<string>", "profile_include_list": "<string>", "profile_schedule": "<string>", "queue_name": "<string>", "scheduled_queue_name": "<string>", "schema_indexing_schedule": "<string>", "schema_max_age_s": 123, "secret_id": 123, "source": "<string>", "temp_schema": "<string>", "view_only": false }
Use the 'Authorization' header with the format 'Key '
Successful Response
"bigquery"
Show child attributes
needs_confirmation
needs_authentication
waiting
processing
done
failed
cancelled
connection
temp_schema
schema_download
lineage_download
"project1\nproject2"
"gs://bucket/date_utils.js"