React SDK API Models
API model types used by the Prequel Import React SDK public hooks. These types are re-exported from the Import API client so their shapes are available without duplicating them on the main React SDK reference page.AbsSourceOptions
AbsSourceOptions = object
Properties
bucket_name
bucket_name: string
Container name
storage_account_name
storage_account_name: string
Storage account name
auth_method
auth_method: "azure_service_shared_access_signature"
Auth method
azure_service_shared_access_signature
azure_service_shared_access_signature: AzureServiceSharedAccessSignature
SAS Token
AwsAccessKeys
AwsAccessKeys = object
Properties
access_id
access_id: string
Bucket access ID
secret_key
secret_key: string
Bucket secret key
AwsiamRole
AwsiamRole = object
Properties
aws_iam_role_arn
aws_iam_role_arn: string
IAM role ARN
AzureServiceSharedAccessSignature
AzureServiceSharedAccessSignature = object
Properties
shared_access_signature_token
shared_access_signature_token: string
Storage Account SAS Token
BearerTokenAuth
BearerTokenAuth = object
Properties
bearer_token
bearer_token: string
Bearer Token
BigQuerySourceOptions
BigQuerySourceOptions =object&BigQuerySourceOptionsGcpServiceAccountRole|object&BigQuerySourceOptionsFederatedGcpServiceAccountRole|object&BigQuerySourceOptionsGcpServiceAccountKey
CredentialSource
CredentialSource = object
Properties
environment_id
environment_id: string
region_url
region_url: string
url
url: string
regional_cred_verification_url
regional_cred_verification_url: string
DeltaSharingSourceOptions
DeltaSharingSourceOptions =object&DeltaSharingSourceOptionsBearerToken|object&DeltaSharingSourceOptionsOAuth2
FederatedGcpServiceAccountRole
FederatedGcpServiceAccountRole = object
Properties
service_account_email
service_account_email: string
Service account email
workload_identity_federation_metadata?
Workload identity metadataoptionalworkload_identity_federation_metadata?:GcpExternalAccountMetadata
GcpServiceAccountRole
GcpServiceAccountRole = object
Properties
service_account_email
service_account_email: string
Service account email
GcpSourceServiceAccountKey
GcpSourceServiceAccountKey = object
Properties
service_account_email
service_account_email: string
Source service account email
service_account_key
service_account_key: unknown
JSON Token
The credentials (JSON) that will be used to extract data from your BigQuery database. Create a service account just for this use.
GcsAccessKeys
GcsAccessKeys = object
Properties
access_key
access_key: string
Bucket access ID
The access key to use for authentication.
secret
secret: string
Bucket secret key
The secret to use for authentication.
GcsSourceOptions
GcsSourceOptions =object&GcsSourceOptionsGcpServiceAccountRole|object&GcsSourceOptionsFederatedGcpServiceAccountRole|object&GcsSourceOptionsGcshmacKeys|object&GcsSourceOptionsGcpServiceAccountKey
GcpExternalAccountMetadata
GcpExternalAccountMetadata = object
Properties
type
type: string
audience
audience: string
subject_token_type
subject_token_type: string
service_account_impersonation_url
service_account_impersonation_url: string
token_url
token_url: string
credential_source
credential_source: CredentialSource
OAuthAuth
OAuthAuth = object
Properties
client_id
client_id: string
Client ID
client_secret
client_secret: string
Client Secret
PasswordAuth
PasswordAuth = object
Properties
username
username: string
Username
password
password: string
Password
PostgresSourceOptions
PostgresSourceOptions = object
Properties
host
host: string
Host
Host address of the database.
port
port: number
Port
database
database: string
Database
Name of the database.
auth_method
auth_method: "password_auth"
Auth method
Authentication method.
password_auth
password_auth: PasswordAuth
Username and Password
Required details for username/password authentication.
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Disable SSLoptionaldisable_ssl?:boolean
PublicKeyAuth
PublicKeyAuth = object
Properties
public_key
public_key: string
Public key
This is the PKCS8 public key generated for keypair authentication.
RedshiftAccessKeys
RedshiftAccessKeys = object
Properties
password
password: string
Password
access_id
access_id: string
Bucket access ID
secret_key
secret_key: string
Bucket secret key
RedshiftServerlessSourceOptions
RedshiftServerlessSourceOptions =object&RedshiftServerlessSourceOptionsAwsAccessKeys|object&RedshiftServerlessSourceOptionsAwsiamRole
RedshiftSourceOptions
RedshiftSourceOptions =object&RedshiftSourceOptionsAwsAccessKeys|object&RedshiftSourceOptionsAwsiamRole
S3CompatibleSourceOptions
S3CompatibleSourceOptions = object
Properties
host
host: string
Host
port
port: number
Port
bucket_name
bucket_name: string
Bucket name
auth_method
auth_method: "access_keys"
Auth method
aws_access_keys
aws_access_keys: AwsAccessKeys
Access Keys
Required details for access key authentication.
disable_ssl?
Disable SSLoptionaldisable_ssl?:boolean
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
S3SourceOptions
S3SourceOptions =object&S3SourceOptionsAwsiamRole|object&S3SourceOptionsAwsAccessKeys
SftpSourceOptions
SftpSourceOptions = object
Properties
username
username: string
Username
host
host: string
Host
port
port: number
Port
auth_method
auth_method: "public_key_auth"
Auth method
public_key_auth
public_key_auth: PublicKeyAuth
Key Pair Authentication
SshTunnelParams
SshTunnelParams = object
Properties
ssh_tunnel_host
ssh_tunnel_host: string
SSH tunnel host
ssh_tunnel_port
ssh_tunnel_port: number
SSH tunnel port
ssh_tunnel_username
ssh_tunnel_username: string
SSH tunnel username
ssh_public_key?
SSH Public Key This is the public SSH key that will be used to establish the SSH tunnel. It should be added to the list of authorized keys on the bastion host.optionalssh_public_key?:"primary_public_key"|"secondary_public_key"
SnowflakeSourceOptions
SnowflakeSourceOptions = SnowflakeSourceOptionsPublicKeyAuth
SourceOptions
SourceOptions = {vendor:"postgres";postgres:PostgresSourceOptions; } | {vendor:"redshift";redshift:RedshiftSourceOptions; } | {vendor:"redshift_serverless";redshift_serverless:RedshiftServerlessSourceOptions; } | {vendor:"bigquery";bigquery:BigQuerySourceOptions; } | {vendor:"s3";s3:S3SourceOptions; } | {vendor:"abs";abs:AbsSourceOptions; } | {vendor:"sftp";sftp:SftpSourceOptions; } | {vendor:"gcs";gcs:GcsSourceOptions; } | {vendor:"s3_compatible";s3_compatible:S3CompatibleSourceOptions; } | {vendor:"snowflake";snowflake:SnowflakeSourceOptions; } | {vendor:"delta_sharing";delta_sharing:DeltaSharingSourceOptions; } &object
Type Declaration
provider_id
provider_id: string
Provider ID
ID of the import provider this source belongs to.
name
name: string
Name
Unique name for this import source.
AbsDatalakeResource
AbsDatalakeResource = object
Properties
prefix
prefix: string
container_name
container_name: string
storage_account_name
storage_account_name: string
auth_method
auth_method: string
azure_storage_account_access_key?
optionalazure_storage_account_access_key?:AzureStorageAccountAccessKeyResource
AwsAccessKeysResource
AwsAccessKeysResource = object
Properties
access_key_id
access_key_id: string
AwsiamRoleResource
AwsiamRoleResource = object
Properties
aws_iam_role
aws_iam_role: string
AzureStorageAccountAccessKeyResource
AzureStorageAccountAccessKeyResource = object
Index Signature
[key: string]: never
DatalakeResource
DatalakeResource = {storage:"s3";s3:S3DatalakeResource; } | {storage:"s3_compatible";s3_compatible:S3CompatibleDatalakeResource; } | {storage:"gcs";gcs:GcsDatalakeResource; } | {storage:"abs";abs:AbsDatalakeResource; } &object
Type Declaration
id
id: string
name
name: string
retention_window_days?
optionalretention_window_days?:number
created_at
created_at: string
updated_at
updated_at: string
FederatedGcpDatalakeServiceAccountRoleResource
FederatedGcpDatalakeServiceAccountRoleResource = object
Properties
gcp_service_account_email
gcp_service_account_email: string
GcpDatalakeServiceAccountKeyResource
GcpDatalakeServiceAccountKeyResource = object
Properties
service_account_email
service_account_email: string
GcpDatalakeServiceAccountRoleResource
GcpDatalakeServiceAccountRoleResource = object
Properties
gcp_service_account_email
gcp_service_account_email: string
GcsDatalakeResource
GcsDatalakeResource =object&GcsDatalakeResourceGcpServiceAccountRole|object&GcsDatalakeResourceGcpServiceAccountKey|object&GcsDatalakeResourceFederatedGcpServiceAccountRole
ListDatalakesResponse
ListDatalakesResponse = object
Properties
datalakes
datalakes: DatalakeResource[]
S3CompatibleDatalakeResource
S3CompatibleDatalakeResource = object
Properties
prefix
prefix: string
bucket_name
bucket_name: string
bucket_region
bucket_region: string
bucket_host
bucket_host: string
bucket_port
bucket_port: number
aws_access_keys
aws_access_keys: AwsAccessKeysResource
S3DatalakeResource
S3DatalakeResource =object&S3DatalakeResourceAwsiamRole|object&S3DatalakeResourceAwsAccessKeys
AbsDatalakeOptions
AbsDatalakeOptions = object
Properties
prefix
prefix: string
Prefix to use for the ABS bucket.
container_name
container_name: string
Container Name
storage_account_name
storage_account_name: string
Storage Account Name
auth_method
auth_method: "azure_storage_account_access_key"
Auth Method
azure_storage_account_access_key?
Required parameters to authenticate to Azure using an access key.optionalazure_storage_account_access_key?:AzureStorageAccountAccessKey
AzureStorageAccountAccessKey
AzureStorageAccountAccessKey = object
Properties
storage_account_access_key
storage_account_access_key: string
Access key
CreateDatalakeRequest
CreateDatalakeRequest = object
Properties
datalake
datalake: DatalakeOptions
DatalakeOptions
DatalakeOptions = {storage:"s3";s3:S3DatalakeOptions; } | {storage:"s3_compatible";s3_compatible:S3CompatibleDatalakeOptions; } | {storage:"gcs";gcs:GcsDatalakeOptions; } | {storage:"abs";abs:AbsDatalakeOptions; } &object
Type Declaration
name
name: string
Name
Unique name for this import datalake.
retention_window_days?
Retention Window (Days) Number of days to retain data. Null means infinite retention.optionalretention_window_days?:number
FederatedGcpDatalakeServiceAccountRole
FederatedGcpDatalakeServiceAccountRole = object
Properties
service_account_email
service_account_email: string
Datalake service account email
workload_identity_federation_metadata?
Workload identity metadataoptionalworkload_identity_federation_metadata?:GcpExternalAccountMetadata
GcpDatalakeServiceAccountKey
GcpDatalakeServiceAccountKey = object
Properties
service_account_email
service_account_email: string
Datalake service account email
service_account_key
service_account_key: unknown
JSON Token
The credentials (JSON) that will be used to access the datalake. Create a service account just for this use.
GcpDatalakeServiceAccountRole
GcpDatalakeServiceAccountRole = object
Properties
gcp_service_account_email
gcp_service_account_email: string
GCP Service Account Email
Email of the GCP service account.
GcsDatalakeOptions
GcsDatalakeOptions =object&GcsDatalakeOptionsGcpServiceAccountRole|object&GcsDatalakeOptionsGcpServiceAccountKey|object&GcsDatalakeOptionsFederatedGcpServiceAccountRole
S3CompatibleDatalakeOptions
S3CompatibleDatalakeOptions = object
Properties
prefix
prefix: string
Prefix to use for the S3 bucket.
bucket_name
bucket_name: string
Bucket Name
bucket_region
bucket_region: string
Region
bucket_host
bucket_host: string
Host
bucket_port
bucket_port: number
Port
aws_access_keys
aws_access_keys: AwsAccessKeys
Access credentials for S3-compatible storage.
S3DatalakeOptions
S3DatalakeOptions =object&S3DatalakeOptionsAwsiamRole|object&S3DatalakeOptionsAwsAccessKeys
GetDatalakeResponse
GetDatalakeResponse = object
Properties
datalake
datalake: DatalakeResource
DatalakeUpdateOptions
DatalakeUpdateOptions = object
Properties
name?
Unique name for this import datalake.optionalname?:string
retention_window_days?
Number of days to retain data. Null means infinite retention.optionalretention_window_days?:number
s3?
optionals3?:UpdateS3DatalakeOptions
s3_compatible?
optionals3_compatible?:UpdateS3CompatibleDatalakeOptions
gcs?
optionalgcs?:UpdateGcsDatalakeOptions
abs?
optionalabs?:UpdateAbsDatalakeOptions
UpdateAbsDatalakeOptions
UpdateAbsDatalakeOptions = object
Properties
prefix?
Prefix to use for the ABS bucket.optionalprefix?:string
container_name?
optionalcontainer_name?:string
storage_account_name?
optionalstorage_account_name?:string
auth_method?
optionalauth_method?:"azure_storage_account_access_key"
azure_storage_account_access_key?
optionalazure_storage_account_access_key?:UpdateAzureStorageAccountAccessKey
UpdateAwsAccessKeys
UpdateAwsAccessKeys = object
Properties
access_id?
The access key ID to use for authentication.optionalaccess_id?:string
secret_key?
The secret key to use for authentication.optionalsecret_key?:string
UpdateAzureStorageAccountAccessKey
UpdateAzureStorageAccountAccessKey = object
Properties
storage_account_access_key?
Access keyoptionalstorage_account_access_key?:string
UpdateDatalakeRequest
UpdateDatalakeRequest = object
Properties
datalake
datalake: DatalakeUpdateOptions
UpdateGcpDatalakeServiceAccountKey
UpdateGcpDatalakeServiceAccountKey = object
Properties
service_account_email?
The email of the GCP service account to use for authentication.optionalservice_account_email?:string
service_account_key?
The full Google-generated JSON service account key object.optionalservice_account_key?:unknown
UpdateGcpDatalakeServiceAccountRole
UpdateGcpDatalakeServiceAccountRole = object
Properties
gcp_service_account_email?
Email of the GCP service account.optionalgcp_service_account_email?:string
UpdateGcsDatalakeOptions
UpdateGcsDatalakeOptions = object
Properties
prefix?
Prefix to use for the GCS bucket.optionalprefix?:string
auth_method?
optionalauth_method?:"gcp_service_account_role"|"gcp_service_account_key"|"federated_gcp_service_account_role"
gcp_service_account_role?
optionalgcp_service_account_role?:UpdateGcpDatalakeServiceAccountRole
gcp_service_account_key?
optionalgcp_service_account_key?:UpdateGcpDatalakeServiceAccountKey
federated_gcp_service_account_role?
optionalfederated_gcp_service_account_role?:UpdateGcpDatalakeServiceAccountRole
UpdateS3CompatibleDatalakeOptions
UpdateS3CompatibleDatalakeOptions = object
Properties
prefix?
Prefix to use for the S3 bucket.optionalprefix?:string
bucket_host?
Host for S3-compatible storage.optionalbucket_host?:string
bucket_port?
Port for S3-compatible storage.optionalbucket_port?:number
aws_access_keys?
optionalaws_access_keys?:UpdateAwsAccessKeys
UpdateS3DatalakeOptions
UpdateS3DatalakeOptions = object
Properties
prefix?
Prefix to use for the S3 bucket.optionalprefix?:string
auth_method?
optionalauth_method?:"aws_iam_role"|"aws_access_keys"
aws_iam_role?
optionalaws_iam_role?:AwsiamRole
aws_access_keys?
optionalaws_access_keys?:UpdateAwsAccessKeys
DatalakeQueryRequest
DatalakeQueryRequest = object
Properties
dataset_ids
dataset_ids: string[]
query
query: string
DatalakeQueryResponse
DatalakeQueryResponse = object
Properties
schema
schema: QueryResultSchemaField[]
records
records: unknown[]
QueryResultSchemaField
QueryResultSchemaField = object
Properties
name
name: string
database_type_name?
optionaldatabase_type_name?:string
length?
optionallength?:number
precision?
optionalprecision?:number
scale?
optionalscale?:number
nullable?
optionalnullable?:boolean
ListProvidersResponse
ListProvidersResponse = object
Properties
providers
providers: ProviderResource[]
ProviderResource
ProviderResource = object
Properties
name
name: string
id
id: string
is_enabled
is_enabled: boolean
datalake_id
datalake_id: string
products
products: string[]
machine_type_id?
optionalmachine_type_id?:string
created_at
created_at: string
updated_at
updated_at: string
ProviderOptions
ProviderOptions = object
Properties
name
name: string
Name
Unique name for this provider.
id
id: string
ID
Unique identifier for this provider.
datalake_id
datalake_id: string
Datalake ID
The ID of the datalake this provider belongs to.
is_enabled?
Enabled Whether this provider is enabled.optionalis_enabled?:boolean
products
products: string[]
Products
The names of the products to be assigned to this provider.
machine_type_id?
Machine Type ID Optional machine type for resource allocation.optionalmachine_type_id?:string
GetProviderResponse
GetProviderResponse = object
Properties
provider
provider: ProviderResource
UpdateProviderOptions
UpdateProviderOptions = object
Properties
name?
Name for this provider.optionalname?:string
is_enabled?
Whether this provider is enabled.optionalis_enabled?:boolean
products?
The names of the products to be assigned to this provider.optionalproducts?:string[]
machine_type_id?
Machine type for resource allocation.optionalmachine_type_id?:string
AbsSourceResource
AbsSourceResource = object
Properties
is_valid
is_valid: boolean
bucket_name
bucket_name: string
storage_account_name
storage_account_name: string
auth_method
auth_method: string
BigQuerySourceResource
BigQuerySourceResource =object&BigQuerySourceResourceGcpServiceAccountRole|object&BigQuerySourceResourceFederatedGcpServiceAccountRole|object&BigQuerySourceResourceGcpServiceAccountKey
DeltaSharingSourceResource
DeltaSharingSourceResource = object
Properties
is_valid
is_valid: boolean
host
host: string
port
port: number
auth_method
auth_method: string
oauth_client_id?
optionaloauth_client_id?:string
FederatedGcpServiceAccountRoleResource
FederatedGcpServiceAccountRoleResource = object
Properties
service_account_email
service_account_email: string
GcpServiceAccountKeyResource
GcpServiceAccountKeyResource = object
Properties
service_account_email
service_account_email: string
GcpServiceAccountRoleResource
GcpServiceAccountRoleResource = object
Properties
service_account_email
service_account_email: string
GcsAccessKeysResource
GcsAccessKeysResource = object
Properties
access_id
access_id: string
GcsSourceResource
GcsSourceResource = object
Properties
is_valid
is_valid: boolean
bucket_name
bucket_name: string
region
region: string
auth_method
auth_method: string
gcp_service_account_role?
optionalgcp_service_account_role?:GcpServiceAccountRoleResource
federated_gcp_service_account_role?
optionalfederated_gcp_service_account_role?:FederatedGcpServiceAccountRoleResource
gcs_hmac_keys?
optionalgcs_hmac_keys?:GcsAccessKeysResource
gcp_service_account_key?
optionalgcp_service_account_key?:GcpServiceAccountKeyResource
ListSourcesResponse
ListSourcesResponse = object
Properties
sources
sources: SourceResource[]
PostgresSourceResource
PostgresSourceResource = object
Properties
is_valid
is_valid: boolean
host
host: string
port
port: number
database
database: string
username
username: string
auth_method
auth_method: string
use_ssh_tunnel
use_ssh_tunnel: boolean
ssh_tunnel?
optionalssh_tunnel?:SshTunnelResource
disable_ssl
disable_ssl: boolean
connection_timeout_in_seconds
connection_timeout_in_seconds: number
PublicKeyAuthResource
PublicKeyAuthResource = object
Properties
public_key
public_key: string
RedshiftAccessKeysResource
RedshiftAccessKeysResource = object
Properties
access_id
access_id: string
RedshiftServerlessSourceResource
RedshiftServerlessSourceResource = object
Properties
is_valid
is_valid: boolean
host
host: string
port
port: number
database
database: string
region?
optionalregion?:string
workgroup
workgroup: string
auth_method
auth_method: string
aws_iam_role?
optionalaws_iam_role?:AwsiamRoleResource
aws_access_keys?
optionalaws_access_keys?:RedshiftAccessKeysResource
use_ssh_tunnel
use_ssh_tunnel: boolean
ssh_tunnel?
optionalssh_tunnel?:SshTunnelResource
disable_ssl
disable_ssl: boolean
connection_timeout_in_seconds
connection_timeout_in_seconds: number
RedshiftSourceResource
RedshiftSourceResource = object
Properties
is_valid
is_valid: boolean
host
host: string
port
port: number
database
database: string
cluster?
optionalcluster?:string
region?
optionalregion?:string
workgroup?
optionalworkgroup?:string
username?
optionalusername?:string
auth_method
auth_method: string
aws_iam_role?
optionalaws_iam_role?:AwsiamRoleResource
aws_access_keys?
optionalaws_access_keys?:RedshiftAccessKeysResource
use_ssh_tunnel
use_ssh_tunnel: boolean
ssh_tunnel?
optionalssh_tunnel?:SshTunnelResource
disable_ssl
disable_ssl: boolean
connection_timeout_in_seconds
connection_timeout_in_seconds: number
S3CompatibleSourceResource
S3CompatibleSourceResource = object
Properties
is_valid
is_valid: boolean
host
host: string
port
port: number
bucket_name
bucket_name: string
auth_method
auth_method: string
aws_access_keys?
optionalaws_access_keys?:AwsAccessKeysResource
disable_ssl
disable_ssl: boolean
use_ssh_tunnel
use_ssh_tunnel: boolean
ssh_tunnel?
optionalssh_tunnel?:SshTunnelResource
S3SourceResource
S3SourceResource = object
Properties
is_valid
is_valid: boolean
bucket_name
bucket_name: string
region
region: string
auth_method
auth_method: string
aws_iam_role?
optionalaws_iam_role?:AwsiamRoleResource
aws_access_keys?
optionalaws_access_keys?:AwsAccessKeysResource
bucket_host?
optionalbucket_host?:string
use_ssh_tunnel
use_ssh_tunnel: boolean
ssh_tunnel?
optionalssh_tunnel?:SshTunnelResource
SftpSourceResource
SftpSourceResource = object
Properties
is_valid
is_valid: boolean
username
username: string
host
host: string
port
port: number
auth_method
auth_method: string
SshTunnelResource
SshTunnelResource = object
Properties
ssh_tunnel_host?
optionalssh_tunnel_host?:string
ssh_tunnel_port?
optionalssh_tunnel_port?:number
ssh_tunnel_username?
optionalssh_tunnel_username?:string
ssh_public_key?
optionalssh_public_key?:string
SnowflakeSourceResource
SnowflakeSourceResource = object
Properties
is_valid
is_valid: boolean
host
host: string
port
port: number
database
database: string
username
username: string
auth_method
auth_method: "public_key_auth"
public_key_auth?
optionalpublic_key_auth?:PublicKeyAuthResource
SourceResource
SourceResource = {vendor:"postgres";postgres:PostgresSourceResource; } | {vendor:"redshift";redshift:RedshiftSourceResource; } | {vendor:"redshift_serverless";redshift_serverless:RedshiftServerlessSourceResource; } | {vendor:"bigquery";bigquery:BigQuerySourceResource; } | {vendor:"s3";s3:S3SourceResource; } | {vendor:"abs";abs:AbsSourceResource; } | {vendor:"sftp";sftp:SftpSourceResource; } | {vendor:"gcs";gcs:GcsSourceResource; } | {vendor:"s3_compatible";s3_compatible:S3CompatibleSourceResource; } | {vendor:"snowflake";snowflake:SnowflakeSourceResource; } | {vendor:"delta_sharing";delta_sharing:DeltaSharingSourceResource; } &object
Type Declaration
id
id: string
provider_id
provider_id: string
name
name: string
created_at
created_at: string
updated_at
updated_at: string
CreateSourceRequest
CreateSourceRequest = object
Properties
source
source: SourceOptions
GetSourceResponse
GetSourceResponse = object
Properties
source
source: SourceResource
UpdateAbsSourceOptions
UpdateAbsSourceOptions = object
Properties
bucket_name?
The name of the ABS container.optionalbucket_name?:string
storage_account_name?
The name of the Azure storage account.optionalstorage_account_name?:string
auth_method?
Authentication method.optionalauth_method?:"azure_service_shared_access_signature"
azure_service_shared_access_signature?
Required parameters to authenticate to Azure using a SAS token.optionalazure_service_shared_access_signature?:UpdateAzureServiceSharedAccessSignature
UpdateAzureServiceSharedAccessSignature
UpdateAzureServiceSharedAccessSignature = object
Properties
shared_access_signature_token?
Storage Account SAS Tokenoptionalshared_access_signature_token?:string
UpdateBigQuerySourceOptions
UpdateBigQuerySourceOptions = object
Properties
project_id?
Project IDoptionalproject_id?:string
region?
Regionoptionalregion?:string
auth_method?
Auth method The method of authentication to use for this source.optionalauth_method?:"gcp_service_account_role"|"gcp_service_account_key"|"federated_gcp_service_account_role"
gcp_service_account_role?
Required details if authenticating using a GCP service account role.optionalgcp_service_account_role?:UpdateGcpServiceAccountRole
federated_gcp_service_account_role?
Required details if authenticating using a GCP service account role.optionalfederated_gcp_service_account_role?:UpdateFederatedGcpServiceAccountRole
gcp_service_account_key?
Required details if authenticating using a GCP service account key.optionalgcp_service_account_key?:UpdateGcpSourceServiceAccountKey
UpdateDeltaSharingSourceOptions
UpdateDeltaSharingSourceOptions = object
Properties
host?
The hostname of the Delta Sharing server.optionalhost?:string
port?
The port of the Delta Sharing server.optionalport?:number
auth_method?
optionalauth_method?:"bearer_token"|"oauth2"
bearer_token?
Required details for bearer token authentication.optionalbearer_token?:BearerTokenAuth
oauth2?
Required details for OAuth2 authentication.optionaloauth2?:OAuthAuth
UpdateFederatedGcpServiceAccountRole
UpdateFederatedGcpServiceAccountRole = object
Properties
service_account_email
service_account_email: string
Service account email
workload_identity_federation_metadata?
Workload identity metadataoptionalworkload_identity_federation_metadata?:GcpExternalAccountMetadata
UpdateGcpServiceAccountRole
UpdateGcpServiceAccountRole = object
Properties
service_account_email?
The email of the GCP service account to use for authentication.optionalservice_account_email?:string
workload_identity_federation_metadata?
Workload identity metadata The federation metadata to use for authentication.optionalworkload_identity_federation_metadata?:GcpExternalAccountMetadata
UpdateGcpSourceServiceAccountKey
UpdateGcpSourceServiceAccountKey = object
Properties
service_account_email?
The email of the GCP service account to use for authentication.optionalservice_account_email?:string
service_account_key?
The full Google-generated JSON service account key object.optionalservice_account_key?:unknown
UpdateGcsAccessKeys
UpdateGcsAccessKeys = object
Properties
access_key?
The access key to use for authentication.optionalaccess_key?:string
secret?
The secret to use for authentication.optionalsecret?:string
UpdateGcsSourceOptions
UpdateGcsSourceOptions = object
Properties
bucket_name?
The name of the GCS bucket.optionalbucket_name?:string
region?
The GCP region of the GCS bucket.optionalregion?:string
auth_method?
Authentication method.optionalauth_method?:"gcp_service_account_role"|"federated_gcp_service_account_role"|"gcs_hmac_keys"|"gcp_service_account_key"
gcp_service_account_role?
Required details if authenticating using a GCP service account role.optionalgcp_service_account_role?:UpdateGcpServiceAccountRole
federated_gcp_service_account_role?
Required details if authenticating using a GCP service account role.optionalfederated_gcp_service_account_role?:UpdateFederatedGcpServiceAccountRole
gcs_hmac_keys?
Required details if authenticating using GCS HMAC keys.optionalgcs_hmac_keys?:UpdateGcsAccessKeys
gcp_service_account_key?
Required details if authenticating using a GCP service account key.optionalgcp_service_account_key?:UpdateGcpSourceServiceAccountKey
UpdatePasswordAuth
UpdatePasswordAuth = object
Properties
username?
The username to use for authentication.optionalusername?:string
password?
The password to use for authentication.optionalpassword?:string
UpdatePostgresSourceOptions
UpdatePostgresSourceOptions = object
Properties
host?
The hostname of the PostgreSQL server.optionalhost?:string
port?
The port of the PostgreSQL server.optionalport?:number
database?
The name of the database to connect to.optionaldatabase?:string
auth_method?
Authentication method.optionalauth_method?:"password_auth"
password_auth?
Required details for username/password authentication.optionalpassword_auth?:UpdatePasswordAuth
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Whether to disable SSL for the connection.optionaldisable_ssl?:boolean
UpdatePublicKeyAuth
UpdatePublicKeyAuth = object
Properties
public_key?
Public key This is the PKCS8 public key generated for keypair authentication.optionalpublic_key?:string
UpdateRedshiftAccessKeys
UpdateRedshiftAccessKeys = object
Properties
password
password: string
Password
access_id
access_id: string
Bucket access ID
secret_key
secret_key: string
Bucket secret key
UpdateRedshiftServerlessSourceOptions
UpdateRedshiftServerlessSourceOptions = object
Properties
host?
The hostname of the Redshift Serverless server.optionalhost?:string
port?
The port of the Redshift Serverless server.optionalport?:number
database?
The name of the database to connect to.optionaldatabase?:string
workgroup?
The name of the Redshift Serverless workgroup.optionalworkgroup?:string
region?
The AWS region of the Redshift Serverless workgroup.optionalregion?:string
auth_method?
optionalauth_method?:"aws_iam_role"|"aws_access_keys"
aws_access_keys?
Required details for AWS access keys authentication.optionalaws_access_keys?:UpdateRedshiftAccessKeys
aws_iam_role?
Required details for AWS IAM role authentication.optionalaws_iam_role?:AwsiamRole
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Whether to disable SSL for the connection.optionaldisable_ssl?:boolean
connection_timeout_in_seconds?
Duration to wait for successful connection.optionalconnection_timeout_in_seconds?:number
UpdateRedshiftSourceOptions
UpdateRedshiftSourceOptions = object
Properties
host?
The hostname of the Redshift server.optionalhost?:string
port?
The port of the Redshift server.optionalport?:number
database?
The name of the database to connect to.optionaldatabase?:string
cluster?
The name of the Redshift cluster.optionalcluster?:string
region?
The AWS region of the Redshift cluster.optionalregion?:string
workgroup?
The name of the Redshift Serverless workgroup.optionalworkgroup?:string
username?
The username for authentication.optionalusername?:string
auth_method?
optionalauth_method?:"aws_iam_role"|"aws_access_keys"
aws_access_keys?
Required details for AWS access keys authentication.optionalaws_access_keys?:UpdateRedshiftAccessKeys
aws_iam_role?
Required details for AWS IAM role authentication.optionalaws_iam_role?:AwsiamRole
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Whether to disable SSL for the connection.optionaldisable_ssl?:boolean
connection_timeout_in_seconds?
Duration to wait for successful connection.optionalconnection_timeout_in_seconds?:number
UpdateS3CompatibleSourceOptions
UpdateS3CompatibleSourceOptions = object
Properties
host?
The hostname of the S3-compatible server.optionalhost?:string
port?
The port of the S3-compatible server.optionalport?:number
bucket_name?
The name of the S3-compatible bucket.optionalbucket_name?:string
auth_method?
Authentication method.optionalauth_method?:"access_keys"
aws_access_keys?
Required details for access key authentication.optionalaws_access_keys?:UpdateAwsAccessKeys
disable_ssl?
Whether to disable SSL for the connection.optionaldisable_ssl?:boolean
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
UpdateS3SourceOptions
UpdateS3SourceOptions = object
Properties
bucket_name?
The name of the S3 bucket.optionalbucket_name?:string
region?
The AWS region of the S3 bucket.optionalregion?:string
auth_method?
optionalauth_method?:"aws_iam_role"|"aws_access_keys"
aws_iam_role?
Required details for AWS IAM role authentication.optionalaws_iam_role?:AwsiamRole
aws_access_keys?
Required details for AWS access keys authentication.optionalaws_access_keys?:UpdateAwsAccessKeys
bucket_host?
The host address of the S3 bucket.optionalbucket_host?:string
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
UpdateSftpSourceOptions
UpdateSftpSourceOptions = object
Properties
username?
The username for the SFTP connection.optionalusername?:string
host?
The hostname of the SFTP server.optionalhost?:string
port?
The port of the SFTP server.optionalport?:number
auth_method?
Authentication method.optionalauth_method?:"public_key_auth"
public_key_auth?
Required details for public key authentication.optionalpublic_key_auth?:UpdatePublicKeyAuth
UpdateSnowflakeSourceOptions
UpdateSnowflakeSourceOptions = object
Properties
host?
The hostname of the Snowflake account.optionalhost?:string
port?
The port of the Snowflake server.optionalport?:number
database?
The name of the database to connect to.optionaldatabase?:string
username?
The username for authentication.optionalusername?:string
auth_method?
optionalauth_method?:"public_key_auth"
public_key_auth?
Required details for public key authentication.optionalpublic_key_auth?:UpdatePublicKeyAuth
UpdateSourceOptions
UpdateSourceOptions = object
Properties
name?
Unique name for this import source.optionalname?:string
vendor?
readonlyoptionalvendor?:string
postgres?
PostgreSQLoptionalpostgres?:UpdatePostgresSourceOptions
redshift?
Amazon Redshiftoptionalredshift?:UpdateRedshiftSourceOptions
redshift_serverless?
Amazon Redshift Serverlessoptionalredshift_serverless?:UpdateRedshiftServerlessSourceOptions
bigquery?
Google BigQueryoptionalbigquery?:UpdateBigQuerySourceOptions
s3?
Amazon S3optionals3?:UpdateS3SourceOptions
abs?
Azure Blob Storageoptionalabs?:UpdateAbsSourceOptions
sftp?
SFTPoptionalsftp?:UpdateSftpSourceOptions
gcs?
Google Cloud Storageoptionalgcs?:UpdateGcsSourceOptions
s3_compatible?
S3 Compatibleoptionals3_compatible?:UpdateS3CompatibleSourceOptions
snowflake?
Snowflakeoptionalsnowflake?:UpdateSnowflakeSourceOptions
delta_sharing?
Delta Sharingoptionaldelta_sharing?:UpdateDeltaSharingSourceOptions
UpdateSourceRequest
UpdateSourceRequest = object
Properties
source
source: UpdateSourceOptions
ListSourceTablesResponse
ListSourceTablesResponse = object
Properties
tables
tables: SourceTable[]
SourcePreviewSchemaField
SourcePreviewSchemaField = object
Properties
name
name: string
raw_type
raw_type: string
prequel_type
prequel_type: string
ordinal_position
ordinal_position: number
is_nullable?
optionalis_nullable?:boolean
SourceTable
SourceTable = object
Properties
namespace
namespace: string
name
name: string
columns
columns: SourcePreviewSchemaField[]
GlobOptions
GlobOptions = object
Properties
pattern
pattern: string
Pattern
Glob pattern for object files.
format
format:Format Format of the object files."csv"|"parquet"|"jsonl"|"json"
SQLOptions
SQLOptions = object
Properties
query
query: string
Query
SQL query to execute.
SourcePreviewOptions
SourcePreviewOptions = {method:"table";table:TableOptions; } | {method:"sql";sql:SQLOptions; } | {method:"glob";glob:GlobOptions; }
Union Members
Type Literal
{method: "table"; table: TableOptions; }
method
method: "table"
table
table: TableOptions
Table Configuration
Type Literal
{method: "sql"; sql: SQLOptions; }
method
method: "sql"
sql
sql: SQLOptions
SQL Configuration
Type Literal
{method: "glob"; glob: GlobOptions; }
method
method: "glob"
glob
glob: GlobOptions
Glob Configuration
TableOptions
TableOptions = object
Properties
source_table_namespace
source_table_namespace: string
Source Table Namespace
Namespace or schema of the source table.
source_table_name
source_table_name: string
Source Table Name
Name of the source table.
SourceSchemaResponse
SourceSchemaResponse = object
Properties
schema
schema: SourcePreviewSchemaField[]
SourcePreviewResponse
SourcePreviewResponse = object
Properties
schema
schema: SourcePreviewSchemaField[]
records
records: unknown[]
DatasetResource
DatasetResource = {type:"dimension";dimension:DimensionResource; } | {type:"fact";fact:FactResource; } & {method:"table";table:TableResource; } | {method:"sql";sql:SqlResource; } | {method:"glob";glob:GlobResource; } &object
Type Declaration
id
id: string
name
name: string
source_id
source_id: string
is_enabled
is_enabled: boolean
frequency_minutes
frequency_minutes: number
datalake_schema
datalake_schema: string
datalake_table_name
datalake_table_name: string
created_at
created_at: string
updated_at
updated_at: string
DimensionResource
DimensionResource = object
Properties
primary_key_column
primary_key_column: string
last_modified_column?
optionallast_modified_column?:string
is_deleted_column?
optionalis_deleted_column?:string
FactResource
FactResource = object
Properties
primary_key_column
primary_key_column: string
created_at_column
created_at_column: string
GlobResource
GlobResource = object
Properties
pattern
pattern: string
format
format: string
ListDatasetsResponse
ListDatasetsResponse = object
Properties
datasets
datasets: DatasetResource[]
SqlResource
SqlResource = object
Properties
query
query: string
TableResource
TableResource = object
Properties
source_table_namespace
source_table_namespace: string
source_table_name
source_table_name: string
CreateDatasetRequest
CreateDatasetRequest = object
Properties
dataset
dataset: DatasetOptions
DatasetOptions
DatasetOptions = {type:"dimension";dimension:DimensionOptions; } | {type:"fact";fact:FactOptions; } & {method:"table";table:TableOptions; } | {method:"sql";sql:SQLOptions; } | {method:"glob";glob:GlobOptions; } &object
Type Declaration
name?
Name Name of the dataset.optionalname?:string
source_id
source_id: string
Source ID
ID of the import source this dataset belongs to.
is_enabled?
Enabled Whether this dataset is enabled.optionalis_enabled?:boolean
frequency_minutes
frequency_minutes: number
Frequency Minutes
Frequency in minutes for syncing this dataset.
DimensionOptions
DimensionOptions = object
Properties
primary_key_column
primary_key_column: string
Primary Key Column
Name of the primary key column.
last_modified_column?
Last Modified Column Name of the last modified timestamp column (optional).optionallast_modified_column?:string
is_deleted_column?
Is Deleted Column Name of the soft delete column (optional).optionalis_deleted_column?:string
FactOptions
FactOptions = object
Properties
primary_key_column
primary_key_column: string
Primary Key Column
Name of the primary key column.
created_at_column
created_at_column: string
Created At Column
Name of the created at timestamp column (required for facts).
GetDatasetResponse
GetDatasetResponse = object
Properties
dataset
dataset: DatasetResource
UpdateDatasetOptions
UpdateDatasetOptions = object
Properties
name?
Name of the dataset.optionalname?:string
frequency_minutes?
Frequency in minutes for syncing this dataset.optionalfrequency_minutes?:number
is_enabled?
Whether this dataset is enabled.optionalis_enabled?:boolean
UpdateDatasetRequest
UpdateDatasetRequest = object
Properties
dataset
dataset: UpdateDatasetOptions
DatasetSchemaColumn
DatasetSchemaColumn = object
Properties
column_name
column_name: string
Column Name
The name of the column in the dataset.
prequel_type
prequel_type: string
Prequel Type
The most recent normalized Prequel data type for this column.
source_type
source_type: string
Source Type
The most recent raw data type from the source for this column.
seen_source_types
seen_source_types: string[]
Seen Source Types
All distinct raw source types seen historically for this column.
seen_prequel_types
seen_prequel_types: string[]
Seen Prequel Types
All distinct normalized Prequel types seen historically for this column.
in_latest_extract
in_latest_extract: boolean
In Latest Extract
Indicates if this column was present in the most recent successful extract.
first_seen_at
first_seen_at: string
First Seen At
The timestamp when this column was first extracted.
last_seen_at
last_seen_at: string
Last Seen At
The timestamp when this column was most recently extracted.
GetDatasetSchemaResponse
GetDatasetSchemaResponse = object
Properties
columns
columns: DatasetSchemaColumn[]
ErrorResource
ErrorResource = object
Properties
error_code
error_code: string
title
title: string
blame
blame: string
documentation_url
documentation_url: string
trace
trace: string
message
message: string
ExtractResource
ExtractResource = object
Properties
id
id: string
dataset_id
dataset_id: string
submitted_at
submitted_at: string
started_at?
optionalstarted_at?:string
ended_at?
optionalended_at?:string
records_processed?
optionalrecords_processed?:number
records_existing_updated?
optionalrecords_existing_updated?:number
records_existing_unchanged?
optionalrecords_existing_unchanged?:number
records_existing_deleted?
optionalrecords_existing_deleted?:number
records_new_inserted?
optionalrecords_new_inserted?:number
records_errored?
optionalrecords_errored?:number
error?
optionalerror?:ErrorResource
DatasetRandomSampleRequest
DatasetRandomSampleRequest = object
Properties
sample_size
sample_size: number
DatasetRandomSampleResponse
DatasetRandomSampleResponse = object
Properties
schema
schema: QueryResultSchemaField[]
records
records: unknown[]
HttpRequestTemplate
HttpRequestTemplate = object
Properties
method
method:Method HTTP method for the request."GET"|"POST"|"PUT"|"PATCH"|"DELETE"
uri
uri: string
URI
Request URI with template variables.
headers?
Headers HTTP headers.optionalheaders?:object
Index Signature
[key: string]: string
body?
Body Request body template.optionalbody?:string
WebhookBatchResource
WebhookBatchResource = object
Properties
request_template
request_template: HttpRequestTemplate
format
format: string
max_size_per_batch
max_size_per_batch: number
max_batches_per_minute
max_batches_per_minute: number
max_concurrency
max_concurrency: number
WebhookRecordResource
WebhookRecordResource = object
Properties
request_template
request_template: HttpRequestTemplate
max_records_per_minute
max_records_per_minute: number
max_concurrency
max_concurrency: number
WebhookBatchOptions
WebhookBatchOptions = object
Properties
request_template
request_template: HttpRequestTemplate
Request Template
HTTP request template for sending batch data.
format
format:Format Batch file format."parquet"|"csv"|"json"
max_size_per_batch?
Max Size Per Batch Maximum records per batch.optionalmax_size_per_batch?:number
max_batches_per_minute?
Max Batches Per Minute Rate limit for batches per minute.optionalmax_batches_per_minute?:number
max_concurrency?
Max Concurrency Maximum concurrent request clients.optionalmax_concurrency?:number
WebhookRecordOptions
WebhookRecordOptions = object
Properties
request_template
request_template: HttpRequestTemplate
Request Template
HTTP request template for records.
max_records_per_minute?
Max Records Per Minute Rate limit for records per minute.optionalmax_records_per_minute?:number
max_concurrency?
Max Concurrency Maximum concurrent request clients.optionalmax_concurrency?:number
UpdateDestinationOptions
UpdateDestinationOptions = object
Properties
name?
Unique name for this destination.optionalname?:string
type?
Destination type.optionaltype?:"webhook_record"|"webhook_batch"
record_schema?
JSON Schema for validating records (JSON5 supported).optionalrecord_schema?:unknown
webhook_record?
HTTP Record Configurationoptionalwebhook_record?:UpdateWebhookRecordOptions
webhook_batch?
HTTP Batch Configurationoptionalwebhook_batch?:UpdateWebhookBatchOptions
UpdateDestinationRequest
UpdateDestinationRequest = object
Properties
destination
destination: UpdateDestinationOptions
UpdateWebhookBatchOptions
UpdateWebhookBatchOptions = object
Properties
request_template?
HTTP request template for sending batch data.optionalrequest_template?:HttpRequestTemplate
format?
optionalformat?:"parquet"|"csv"|"json"
max_size_per_batch?
Maximum records per batch.optionalmax_size_per_batch?:number
max_batches_per_minute?
Rate limit for batches per minute.optionalmax_batches_per_minute?:number
max_concurrency?
Maximum concurrent request clients.optionalmax_concurrency?:number
UpdateWebhookRecordOptions
UpdateWebhookRecordOptions = object
Properties
request_template?
HTTP request template for records.optionalrequest_template?:HttpRequestTemplate
max_records_per_minute?
Rate limit for records per minute.optionalmax_records_per_minute?:number
max_concurrency?
Maximum concurrent request clients.optionalmax_concurrency?:number
ListProductsResponse
ListProductsResponse = object
Properties
products
products: ProductResource[]
ProductResource
ProductResource = object
Properties
id
id: string
name
name: string
description?
optionaldescription?:string
destinations
destinations: string[]
created_at
created_at: string
updated_at
updated_at: string
GetProductResponse
GetProductResponse = object
Properties
product
product: ProductResource
ListStreamsResponse
ListStreamsResponse = object
Properties
streams
streams: StreamResource[]
MappingResource
MappingResource = object
Properties
field_type
field_type: string
column?
optionalcolumn?:object
Index Signature
[key: string]: string
expression?
optionalexpression?:object
Index Signature
[key: string]: string
target_field
target_field: string
StreamResource
StreamResource = object
Properties
id
id: string
name
name: string
is_enabled
is_enabled: boolean
destination_is_circuit_broken
destination_is_circuit_broken: boolean
destination_id
destination_id: string
dataset_id
dataset_id: string
mappings
mappings: MappingResource[]
created_at
created_at: string
updated_at
updated_at: string
MappingOptions
MappingOptions = object
Properties
field_type
field_type: string
Field Type
Type of field mapping (field or expression).
column?
Column Column reference for field type mappings.optionalcolumn?:object
Index Signature
[key: string]: string
expression?
Expression Configuration for expression field mappings.optionalexpression?:object
Index Signature
[key: string]: string
target_field
target_field: string
Target Field
The target field name in the destination.
StreamOptions
StreamOptions = object
Properties
name
name: string
Name
Name for this stream.
is_enabled?
Is Enabled Whether this stream is enabled.optionalis_enabled?:boolean
destination_is_circuit_broken?
Destination Is Circuit Broken Whether the destination is failing continuously.optionaldestination_is_circuit_broken?:boolean
destination_id
destination_id: string
Destination ID
The ID of the destination this stream connects to.
dataset_id
dataset_id: string
Dataset ID
The ID of the dataset this stream uses as source.
mappings
mappings: MappingOptions[]
Mappings
Field mappings for this stream.
GetStreamResponse
GetStreamResponse = object
Properties
stream
stream: StreamResource
UpdateStreamOptions
UpdateStreamOptions = object
Properties
name?
Name for this stream.optionalname?:string
is_enabled?
Whether this stream is enabled.optionalis_enabled?:boolean
destination_is_circuit_broken?
Whether the destination is failing continuously.optionaldestination_is_circuit_broken?:boolean
mappings?
Field mappings for this stream.optionalmappings?:MappingOptions[]
LoadResource
LoadResource = object
Properties
id
id: string
stream_id
stream_id: string
submitted_at
submitted_at: string
started_at?
optionalstarted_at?:string
ended_at?
optionalended_at?:string
records_processed?
optionalrecords_processed?:number
records_transformed?
optionalrecords_transformed?:number
records_valid?
optionalrecords_valid?:number
records_loaded?
optionalrecords_loaded?:number
records_errored?
optionalrecords_errored?:number
error?
optionalerror?:ErrorResource
record_ids?
optionalrecord_ids?:string[]
actor_id
actor_id: string
actor_type
actor_type: string
TestStreamTransformRequest
TestStreamTransformRequest = object
Properties
record_ids
record_ids: string[]
Record IDs
List of specific record IDs to test the transformation against.
stream?
Stream Optional partial stream patch merged onto the saved stream to preview transform output without persisting.optionalstream?:UpdateStreamOptions
TestStreamTransformResponse
TestStreamTransformResponse = object
Properties
schema
schema: QueryResultSchemaField[]
records
records: unknown[]
TestNewStreamRequest
TestNewStreamRequest = object
Properties
stream
stream: StreamOptions
Stream
Candidate stream definition to test.
record_ids
record_ids: string[]
Record IDs
List of specific record IDs to test the transformation against.
TestNewSourceRequest
TestNewSourceRequest = object
Properties
source
source: SourceOptions
Source
Candidate source definition to test.
TestSourceResponse
TestSourceResponse = object
Properties
code?
optionalcode?:string
message?
optionalmessage?:string
TestSourceRequest
TestSourceRequest = object
Properties
source?
Source Optional partial source patch merged onto the saved source to test connection without persisting.optionalsource?:UpdateSourceOptions
ListExtractsResponse
ListExtractsResponse = object
Properties
extracts
extracts: ExtractResource[]
GetExtractResponse
GetExtractResponse = object
Properties
extract
extract: ExtractResource
DebugError
DebugError = object
Properties
error_code
error_code: string
error_trace
error_trace: string
ExtractDebugRecord
ExtractDebugRecord = object
Properties
record_id
record_id: string
event_timestamp
event_timestamp: string
extract?
optionalextract?:ExtractDebugStage
ExtractDebugResponse
ExtractDebugResponse = object
Properties
records
records: ExtractDebugRecord[]
ExtractDebugStage
ExtractDebugStage = object
Properties
last_seen_at
last_seen_at: string
last_extracted_at
last_extracted_at: string
last_modified_in_source_at?
optionallast_modified_in_source_at?:string
error?
optionalerror?:DebugError
is_deleted?
optionalis_deleted?:boolean
ListLoadsResponse
ListLoadsResponse = object
Properties
loads
loads: LoadResource[]
GetLoadResponse
GetLoadResponse = object
Properties
load
load: LoadResource
TestExpressionRequest
TestExpressionRequest = object
Properties
data
data: string
The data to use for the expression evaluation.
expr
expr: string
The expression to evaluate.
TestExpressionResponse
TestExpressionResponse = object
Properties
result?
The result of the expression evaluation.optionalresult?:unknown
error?
The error returned by the expression evaluation.optionalerror?:string
SSHKeyResponse
SSHKeyResponse = object
Properties
public_key
public_key: string
Public key used to verify Prequel-generated signatures. Formatted as a SSH-RSA public key.
public_key_pkcs8
public_key_pkcs8: string
Public key used to verify Prequel key pair auth. Formatted as a PKCS#8 PEM-encoded public key.
SourceFormFieldAttributes
SourceFormFieldAttributes = object
Properties
label
label: string
description?
optionaldescription?:string
placeholder?
optionalplaceholder?:string
form_element
form_element: string
input_type?
optionalinput_type?:string
key_format?
optionalkey_format?:string
BigQuerySourceOptionsGcpServiceAccountRole
BigQuerySourceOptionsGcpServiceAccountRole = object
GCP Service Account
Properties
project_id
project_id: string
Project ID
region
region: string
Region
auth_method
auth_method: "gcp_service_account_role"
gcp_service_account_role
gcp_service_account_role: GcpServiceAccountRole
GCP Service Account
Required details if authenticating using a GCP service account role.
BigQuerySourceOptionsFederatedGcpServiceAccountRole
BigQuerySourceOptionsFederatedGcpServiceAccountRole = object
Federation
Properties
project_id
project_id: string
Project ID
region
region: string
Region
auth_method
auth_method: "federated_gcp_service_account_role"
federated_gcp_service_account_role
federated_gcp_service_account_role: FederatedGcpServiceAccountRole
Federation
Required details if authenticating using a GCP service account role.
BigQuerySourceOptionsGcpServiceAccountKey
BigQuerySourceOptionsGcpServiceAccountKey = object
Direct Access
Properties
project_id
project_id: string
Project ID
region
region: string
Region
auth_method
auth_method: "gcp_service_account_key"
gcp_service_account_key
gcp_service_account_key: GcpSourceServiceAccountKey
Direct Access
Required details if authenticating using a GCP service account key.
DeltaSharingSourceOptionsBearerToken
DeltaSharingSourceOptionsBearerToken = object
Bearer Token
Properties
host
host: string
Host
Host address of the Delta Sharing server.
port
port: number
Port
auth_method
auth_method: "bearer_token"
bearer_token
bearer_token: BearerTokenAuth
Bearer Token
Required details for bearer token authentication.
DeltaSharingSourceOptionsOAuth2
DeltaSharingSourceOptionsOAuth2 = object
OAuth2
Properties
host
host: string
Host
Host address of the Delta Sharing server.
port
port: number
Port
auth_method
auth_method: "oauth2"
oauth2
oauth2: OAuthAuth
OAuth2
Required details for OAuth2 authentication.
GcsSourceOptionsGcpServiceAccountRole
GcsSourceOptionsGcpServiceAccountRole = object
GCP Service Account
Properties
bucket_name
bucket_name: string
GCS bucket name
region
region: string
Region
auth_method
auth_method: "gcp_service_account_role"
gcp_service_account_role
gcp_service_account_role: GcpServiceAccountRole
GCP Service Account
Required details if authenticating using a GCP service account role.
GcsSourceOptionsFederatedGcpServiceAccountRole
GcsSourceOptionsFederatedGcpServiceAccountRole = object
Federation
Properties
bucket_name
bucket_name: string
GCS bucket name
region
region: string
Region
auth_method
auth_method: "federated_gcp_service_account_role"
federated_gcp_service_account_role
federated_gcp_service_account_role: FederatedGcpServiceAccountRole
Federation
Required details if authenticating using a GCP service account role.
GcsSourceOptionsGcshmacKeys
GcsSourceOptionsGcshmacKeys = object
GCS HMAC Keys
Properties
bucket_name
bucket_name: string
GCS bucket name
region
region: string
Region
auth_method
auth_method: "gcs_hmac_keys"
gcs_hmac_keys
gcs_hmac_keys: GcsAccessKeys
GCS HMAC Keys
Required details if authenticating using GCS HMAC keys.
GcsSourceOptionsGcpServiceAccountKey
GcsSourceOptionsGcpServiceAccountKey = object
Direct Access
Properties
bucket_name
bucket_name: string
GCS bucket name
region
region: string
Region
auth_method
auth_method: "gcp_service_account_key"
gcp_service_account_key
gcp_service_account_key: GcpSourceServiceAccountKey
Direct Access
Required details if authenticating using a GCP service account key.
RedshiftServerlessSourceOptionsAwsAccessKeys
RedshiftServerlessSourceOptionsAwsAccessKeys = object
AWS Access Keys
Properties
host
host: string
Host
Host address of the Redshift Serverless workgroup.
port
port: number
Port
database
database: string
Database
Name of the database.
workgroup
workgroup: string
Workgroup
Redshift Serverless Workgroup name
region
region: string
Region
AWS Region identifier
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Disable SSLoptionaldisable_ssl?:boolean
connection_timeout_in_seconds?
Connection Timeout Duration to wait for successful connectionoptionalconnection_timeout_in_seconds?:number
auth_method
auth_method: "aws_access_keys"
aws_access_keys
aws_access_keys: RedshiftAccessKeys
AWS Access Keys
Required details for AWS access keys authentication.
RedshiftServerlessSourceOptionsAwsiamRole
RedshiftServerlessSourceOptionsAwsiamRole = object
AWS IAM Role
Properties
host
host: string
Host
Host address of the Redshift Serverless workgroup.
port
port: number
Port
database
database: string
Database
Name of the database.
workgroup
workgroup: string
Workgroup
Redshift Serverless Workgroup name
region
region: string
Region
AWS Region identifier
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Disable SSLoptionaldisable_ssl?:boolean
connection_timeout_in_seconds?
Connection Timeout Duration to wait for successful connectionoptionalconnection_timeout_in_seconds?:number
auth_method
auth_method: "aws_iam_role"
aws_iam_role
aws_iam_role: AwsiamRole
AWS IAM Role
Required details for AWS IAM role authentication.
RedshiftSourceOptionsAwsAccessKeys
RedshiftSourceOptionsAwsAccessKeys = object
AWS Access Keys
Properties
host
host: string
Host
Host address of the Redshift cluster.
port
port: number
Port
database
database: string
Database
Name of the database.
cluster
cluster: string
Cluster
Redshift Cluster identifier
region
region: string
Region
AWS Region identifier
username
username: string
Username
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Disable SSLoptionaldisable_ssl?:boolean
connection_timeout_in_seconds?
Connection Timeout Duration to wait for successful connectionoptionalconnection_timeout_in_seconds?:number
auth_method
auth_method: "aws_access_keys"
aws_access_keys
aws_access_keys: RedshiftAccessKeys
AWS Access Keys
Required details for AWS access keys authentication.
RedshiftSourceOptionsAwsiamRole
RedshiftSourceOptionsAwsiamRole = object
AWS IAM Role
Properties
host
host: string
Host
Host address of the Redshift cluster.
port
port: number
Port
database
database: string
Database
Name of the database.
cluster
cluster: string
Cluster
Redshift Cluster identifier
region
region: string
Region
AWS Region identifier
username
username: string
Username
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
disable_ssl?
Disable SSLoptionaldisable_ssl?:boolean
connection_timeout_in_seconds?
Connection Timeout Duration to wait for successful connectionoptionalconnection_timeout_in_seconds?:number
auth_method
auth_method: "aws_iam_role"
aws_iam_role
aws_iam_role: AwsiamRole
AWS IAM Role
Required details for AWS IAM role authentication.
S3SourceOptionsAwsiamRole
S3SourceOptionsAwsiamRole = object
AWS IAM Role
Properties
bucket_name
bucket_name: string
S3 bucket name
region
region: string
Region
bucket_host?
Bucket hostoptionalbucket_host?:string
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
auth_method
auth_method: "aws_iam_role"
aws_iam_role
aws_iam_role: AwsiamRole
AWS IAM Role
Required details for AWS IAM role authentication.
S3SourceOptionsAwsAccessKeys
S3SourceOptionsAwsAccessKeys = object
AWS Access Keys
Properties
bucket_name
bucket_name: string
S3 bucket name
region
region: string
Region
bucket_host?
Bucket hostoptionalbucket_host?:string
use_ssh_tunnel?
Use SSH Tunnel Whether to use an SSH tunnel for the connection.optionaluse_ssh_tunnel?:boolean
ssh_tunnel?
Required details if using SSH tunneling.optionalssh_tunnel?:SshTunnelParams
auth_method
auth_method: "aws_access_keys"
aws_access_keys
aws_access_keys: AwsAccessKeys
AWS Access Keys
Required details for AWS access keys authentication.
SnowflakeSourceOptionsPublicKeyAuth
SnowflakeSourceOptionsPublicKeyAuth = object
Key Pair Authentication
Properties
host
host: string
Account host
Host address of the Snowflake account.
port
port: number
Port
database
database: string
Database
Name of the database.
username
username: string
Username
auth_method
auth_method: "public_key_auth"
public_key_auth
public_key_auth: PublicKeyAuth
Key Pair Authentication
Required details for public key authentication.
GcsDatalakeResourceGcpServiceAccountRole
GcsDatalakeResourceGcpServiceAccountRole = object
Properties
prefix
prefix: string
bucket_name
bucket_name: string
bucket_region
bucket_region: string
auth_method
auth_method: "gcp_service_account_role"
gcp_service_account_role
gcp_service_account_role: GcpDatalakeServiceAccountRoleResource
GcsDatalakeResourceGcpServiceAccountKey
GcsDatalakeResourceGcpServiceAccountKey = object
Properties
prefix
prefix: string
bucket_name
bucket_name: string
bucket_region
bucket_region: string
auth_method
auth_method: "gcp_service_account_key"
gcp_service_account_key
gcp_service_account_key: GcpDatalakeServiceAccountKeyResource
GcsDatalakeResourceFederatedGcpServiceAccountRole
GcsDatalakeResourceFederatedGcpServiceAccountRole = object
Properties
prefix
prefix: string
bucket_name
bucket_name: string
bucket_region
bucket_region: string
auth_method
auth_method: "federated_gcp_service_account_role"
federated_gcp_service_account_role
federated_gcp_service_account_role: FederatedGcpDatalakeServiceAccountRoleResource
S3DatalakeResourceAwsiamRole
S3DatalakeResourceAwsiamRole = object
Properties
prefix
prefix: string
bucket_name
bucket_name: string
bucket_region
bucket_region: string
auth_method
auth_method: "aws_iam_role"
aws_iam_role
aws_iam_role: AwsiamRoleResource
S3DatalakeResourceAwsAccessKeys
S3DatalakeResourceAwsAccessKeys = object
Properties
prefix
prefix: string
bucket_name
bucket_name: string
bucket_region
bucket_region: string
auth_method
auth_method: "aws_access_keys"
aws_access_keys
aws_access_keys: AwsAccessKeysResource
GcsDatalakeOptionsGcpServiceAccountRole
GcsDatalakeOptionsGcpServiceAccountRole = object
Properties
prefix
prefix: string
Prefix to use for the GCS bucket.
bucket_name
bucket_name: string
Bucket Name
bucket_region
bucket_region: string
Region
GCS region (e.g. us-central1).
auth_method
auth_method: "gcp_service_account_role"
gcp_service_account_role
gcp_service_account_role: GcpDatalakeServiceAccountRole
GcsDatalakeOptionsGcpServiceAccountKey
GcsDatalakeOptionsGcpServiceAccountKey = object
Properties
prefix
prefix: string
Prefix to use for the GCS bucket.
bucket_name
bucket_name: string
Bucket Name
bucket_region
bucket_region: string
Region
GCS region (e.g. us-central1).
auth_method
auth_method: "gcp_service_account_key"
gcp_service_account_key
gcp_service_account_key: GcpDatalakeServiceAccountKey
GcsDatalakeOptionsFederatedGcpServiceAccountRole
GcsDatalakeOptionsFederatedGcpServiceAccountRole = object
Properties
prefix
prefix: string
Prefix to use for the GCS bucket.
bucket_name
bucket_name: string
Bucket Name
bucket_region
bucket_region: string
Region
GCS region (e.g. us-central1).
auth_method
auth_method: "federated_gcp_service_account_role"
federated_gcp_service_account_role
federated_gcp_service_account_role: FederatedGcpDatalakeServiceAccountRole
Required details if authenticating using Workload Identity Federation.
S3DatalakeOptionsAwsiamRole
S3DatalakeOptionsAwsiamRole = object
Properties
bucket_name
bucket_name: string
Bucket Name
Name of the S3 bucket.
prefix
prefix: string
Prefix to use for the S3 bucket.
bucket_region
bucket_region: string
Region
AWS region where the bucket is located.
auth_method
auth_method: "aws_iam_role"
aws_iam_role
aws_iam_role: AwsiamRole
S3DatalakeOptionsAwsAccessKeys
S3DatalakeOptionsAwsAccessKeys = object
Properties
bucket_name
bucket_name: string
Bucket Name
Name of the S3 bucket.
prefix
prefix: string
Prefix to use for the S3 bucket.
bucket_region
bucket_region: string
Region
AWS region where the bucket is located.
auth_method
auth_method: "aws_access_keys"
aws_access_keys
aws_access_keys: AwsAccessKeys
Required details if authenticating using AWS access keys.
BigQuerySourceResourceGcpServiceAccountRole
BigQuerySourceResourceGcpServiceAccountRole = object
Properties
project_id
project_id: string
region
region: string
auth_method
auth_method: "gcp_service_account_role"
gcp_service_account_role
gcp_service_account_role: GcpServiceAccountRoleResource
BigQuerySourceResourceFederatedGcpServiceAccountRole
BigQuerySourceResourceFederatedGcpServiceAccountRole = object
Properties
project_id
project_id: string
region
region: string
auth_method
auth_method: "federated_gcp_service_account_role"
federated_gcp_service_account_role
federated_gcp_service_account_role: FederatedGcpServiceAccountRoleResource
BigQuerySourceResourceGcpServiceAccountKey
BigQuerySourceResourceGcpServiceAccountKey = object
Properties
project_id
project_id: string
region
region: string
auth_method
auth_method: "gcp_service_account_key"
gcp_service_account_key
gcp_service_account_key: GcpServiceAccountKeyResource
DatasetFrequencyMinutes
DatasetFrequencyMinutes = typeofDATASET_FREQUENCY_MINUTES[number]
DestinationResource
DestinationResource = object
Properties
id
id: string
name
name: string
type
type: string
created_at
created_at: string
updated_at
updated_at: string
webhook_record?
optionalwebhook_record?:WebhookRecordResource
webhook_batch?
optionalwebhook_batch?:WebhookBatchResource
record_schema
record_schema: unknown
GetDestinationResponse
GetDestinationResponse = object
Properties
destination
destination: DestinationResource
ListDestinationsResponse
ListDestinationsResponse = object
Properties
destinations
destinations: DestinationResource[]
SourceFormEnumObject
SourceFormEnumObject = object
Properties
key
key: unknown
display
display: string
icon_url?
optionalicon_url?:string
disabled?
optionaldisabled?:boolean
SourceFormField
SourceFormField = object
Properties
path
path: string
name
name: string
parent?
optionalparent?:unknown
type
type: string
required
required: boolean
read_only?
optionalread_only?:boolean
refetch_on_change
refetch_on_change: boolean
const?
optionalconst?:unknown
default?
optionaldefault?:unknown
enum?
optionalenum?:SourceFormEnumObject[]
attributes
attributes: SourceFormFieldAttributes
SourceFormResponse
SourceFormResponse = object
Properties
fields
fields: SourceFormField[]
SourceConnectionTestResult
SourceConnectionTestResult = object
Properties
status
status:"success"|"error"
code?
optionalcode?:string
message?
optionalmessage?:string
DeepPartial
DeepPartial<T> =Textendsobject?{ [K in keyof T]?: DeepPartial<T[K]> }:T
Type Parameters
SourceFormSource
SourceFormSource =DeepPartial<SourceOptions> &object
Type Declaration
provider_id?
optionalprovider_id?:string
name?
optionalname?:string
vendor?
optionalvendor?:string
Variables
DATASET_FREQUENCY_MINUTES
constDATASET_FREQUENCY_MINUTES: readonly [10,15,60,360,720,1440]