---
title: "Get source"
method: GET
path: "/sources/{source_id}"
tags: ["Sources"]
---

# Get source

`GET /sources/{source_id}`

The endpoint returns the details of a specific source by the given ID.

## Path parameters

- `source_id` string, required

## Response `200`

OK

- object
  - `status` 'success', required
  - `data` SourceResponse, required
    - `ssh_public_key` string
    - `source` union, required
      - object
        - `vendor` 'postgres', required
        - `postgres` PostgresSourceResource, required
          - `is_valid` boolean, required
          - `host` string, required
          - `port` integer, required
          - `database` string, required
          - `username` string, required
          - `auth_method` string, required
          - `use_ssh_tunnel` boolean, required
          - `ssh_tunnel` SSHTunnelResource
            - `ssh_tunnel_host` string
            - `ssh_tunnel_port` integer
            - `ssh_tunnel_username` string
            - `ssh_public_key` string
          - `disable_ssl` boolean, required
          - `connection_timeout_in_seconds` integer, required
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'redshift', required
        - `redshift` RedshiftSourceResource, required
          - `is_valid` boolean, required
          - `host` string, required
          - `port` integer, required
          - `database` string, required
          - `cluster` string
          - `region` string
          - `workgroup` string
          - `username` string
          - `auth_method` string, required
          - `aws_iam_role` AWSIAMRoleResource
            - `aws_iam_role` string, required
          - `aws_access_keys` RedshiftAccessKeysResource
            - `access_id` string, required
          - `use_ssh_tunnel` boolean, required
          - `ssh_tunnel` SSHTunnelResource
            - `ssh_tunnel_host` string
            - `ssh_tunnel_port` integer
            - `ssh_tunnel_username` string
            - `ssh_public_key` string
          - `disable_ssl` boolean, required
          - `connection_timeout_in_seconds` integer, required
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'redshift_serverless', required
        - `redshift_serverless` RedshiftServerlessSourceResource, required
          - `is_valid` boolean, required
          - `host` string, required
          - `port` integer, required
          - `database` string, required
          - `region` string
          - `workgroup` string, required
          - `auth_method` string, required
          - `aws_iam_role` AWSIAMRoleResource
            - `aws_iam_role` string, required
          - `aws_access_keys` RedshiftAccessKeysResource
            - `access_id` string, required
          - `use_ssh_tunnel` boolean, required
          - `ssh_tunnel` SSHTunnelResource
            - `ssh_tunnel_host` string
            - `ssh_tunnel_port` integer
            - `ssh_tunnel_username` string
            - `ssh_public_key` string
          - `disable_ssl` boolean, required
          - `connection_timeout_in_seconds` integer, required
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'bigquery', required
        - `bigquery` union, required
          - BigQuerySourceResourceGCPServiceAccountRole
            - `project_id` string, required
            - `region` string, required
            - `auth_method` 'gcp_service_account_role', required
            - `gcp_service_account_role` GCPServiceAccountRoleResource, required
              - …
          - BigQuerySourceResourceFederatedGCPServiceAccountRole
            - `project_id` string, required
            - `region` string, required
            - `auth_method` 'federated_gcp_service_account_role', required
            - `federated_gcp_service_account_role` FederatedGCPServiceAccountRoleResource, required
              - …
          - BigQuerySourceResourceGCPServiceAccountKey
            - `project_id` string, required
            - `region` string, required
            - `auth_method` 'gcp_service_account_key', required
            - `gcp_service_account_key` GCPServiceAccountKeyResource, required
              - …
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 's3', required
        - `s3` S3SourceResource, required
          - `is_valid` boolean, required
          - `bucket_name` string, required
          - `region` string, required
          - `auth_method` string, required
          - `aws_iam_role` AWSIAMRoleResource
            - `aws_iam_role` string, required
          - `aws_access_keys` AWSAccessKeysResource
            - `access_key_id` string, required
          - `bucket_host` string
          - `use_ssh_tunnel` boolean, required
          - `ssh_tunnel` SSHTunnelResource
            - `ssh_tunnel_host` string
            - `ssh_tunnel_port` integer
            - `ssh_tunnel_username` string
            - `ssh_public_key` string
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'abs', required
        - `abs` ABSSourceResource, required
          - `is_valid` boolean, required
          - `bucket_name` string, required
          - `storage_account_name` string, required
          - `auth_method` string, required
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'sftp', required
        - `sftp` SFTPSourceResource, required
          - `is_valid` boolean, required
          - `username` string, required
          - `host` string, required
          - `port` integer, required
          - `auth_method` string, required
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'gcs', required
        - `gcs` GCSSourceResource, required
          - `is_valid` boolean, required
          - `bucket_name` string, required
          - `region` string, required
          - `auth_method` string, required
          - `gcp_service_account_role` GCPServiceAccountRoleResource
            - `service_account_email` string, required
          - `federated_gcp_service_account_role` FederatedGCPServiceAccountRoleResource
            - `service_account_email` string, required
          - `gcs_hmac_keys` GCSAccessKeysResource
            - `access_id` string, required
          - `gcp_service_account_key` GCPServiceAccountKeyResource
            - `service_account_email` string, required
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 's3_compatible', required
        - `s3_compatible` S3CompatibleSourceResource, required
          - `is_valid` boolean, required
          - `host` string, required
          - `port` integer, required
          - `bucket_name` string, required
          - `auth_method` string, required
          - `aws_access_keys` AWSAccessKeysResource
            - `access_key_id` string, required
          - `disable_ssl` boolean, required
          - `use_ssh_tunnel` boolean, required
          - `ssh_tunnel` SSHTunnelResource
            - `ssh_tunnel_host` string
            - `ssh_tunnel_port` integer
            - `ssh_tunnel_username` string
            - `ssh_public_key` string
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'snowflake', required
        - `snowflake` SnowflakeSourceResource, required
          - `is_valid` boolean, required
          - `host` string, required
          - `port` integer, required
          - `database` string, required
          - `username` string, required
          - `auth_method` 'public_key_auth', required
          - `public_key_auth` PublicKeyAuthResource
            - `public_key` string, required
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
      - object
        - `vendor` 'delta_sharing', required
        - `delta_sharing` DeltaSharingSourceResource, required
          - `is_valid` boolean, required
          - `host` string, required
          - `port` integer, required
          - `auth_method` string, required
          - `oauth_client_id` string
        - `id` string, required
        - `provider_id` string, required
        - `name` string, required
        - `created_at` string, required
        - `updated_at` string, required
  - `message` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/prequel/apis/prequel-data-export.md) · [All operations](https://skmtc.dev/prequel/apis/prequel-data-export/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prequel/prequel-data-export/revisions/09c662a871f8/schema)
