Deploy

Deploy Source Table

Deploy a source table to Evidence's managed data warehouse

post/v1/deploy/source

Request

  • Base URL: https://management.evidence.studio
  • URL: https://management.evidence.studio/v1/deploy/source
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie wos-session

Request body

idstring required

unique job identifier for the deploy, use any string

sourcestring required

name of the table to deploy from the source system; for remote file sources (BUCKET, DELTALAKE_S3, ICEBERG) this is a bucket-relative path to the file or table, slashes allowed

typestring required

type of connection: BUCKET | REDSHIFT | SNOWFLAKE | BIGQUERY | MOTHERDUCK | ICEBERG | DELTALAKE_S3 | FILE | SQL | HUBSPOT | ATHENA

secretstring

secret_id (prefer connection_name for public API calls)

connection_namestring

name of the connection that contains the source table. Note: if the connection is renamed this value must be updated to match.

namestring

name of destination table in Evidence, if left blank we use source table name

combineboolean

(only for parquet sources) combine all parquet files into destination table

pathstring

(only for parquet sources) path to parquet files to combine

Example request

{
  "name": "sales_all_regions"
}

Response

Data returning...

OR

Changes

No recorded changes to this operation across all 1 revision of this API.