> ## Documentation Index
> Fetch the complete documentation index at: https://www.artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update pipeline with source reader

> Updates pipeline and optionally its source reader in one request. Accepts gzip-encoded body.

`POST /pipelines/{uuid}/update-with-source-reader`

## Authorization

* `Authorization` (header): API key passed as a Bearer token in the Authorization header.

## Path parameters

* `uuid` (string, required)

## Body (application/json)

* `pipeline` (object, required)
  * `advancedSettings` (object)
    * `appendOnly` (boolean | null)
    * `autoEnableHistoryForNewTables` (boolean | null)
    * `autoEnableHistoryIgnoreRegex` (string | null)
    * `autoEnableHistoryIncludeRegex` (string | null)
    * `autoReplicateIgnoreRegex` (string | null)
    * `autoReplicateIncludeRegex` (string | null)
    * `autoReplicateNewTables` (boolean | null)
    * `backfillMySQLFloatsAsShortestDecimal` (boolean | null)
    * `bigQueryReservation` (string | null)
    * `bufferRows` (integer | null)
    * `castAllColumnsToString` (boolean | null)
    * `databricksAutoLiquidClustering` (boolean | null)
    * `databricksDisableVariantShredding` (boolean | null)
    * `defaultSourceSchema` (string | null)
    * `disableAlerts` (boolean | null)
    * `dropDeletedColumns` (boolean | null)
    * `dynamoDBBackfillConfig` (object)
      * `bucket` (string)
      * `enabled` (boolean)
      * `exportArn` (string)
      * `maxParallelism` (integer, range `x ≥ 0`)
      * `optionalFolder` (string)
    * `enableSoftDelete` (boolean | null)
    * `flushIntervalSeconds` (integer | null)
    * `flushSizeKb` (integer | null)
    * `forceUTCTimezone` (boolean | null)
    * `includeArtieOperationColumn` (boolean | null)
    * `includeArtieUpdatedAtColumn` (boolean | null)
    * `includeDatabaseUpdatedAtColumn` (boolean | null)
    * `includeFullSourceTableNameColumn` (boolean | null)
    * `includeFullSourceTableNameColumnAsPrimaryKey` (boolean | null)
    * `includeSourceMetadataColumn` (boolean | null)
    * `jsonAsVarchar` (boolean | null)
    * `jsonParseTruncateStrings` (boolean | null)
    * `maxConcurrentSnapshots` (integer | null, range `x ≥ 0`)
    * `postgresPartitionMirroring` (boolean | null)
    * `snowpipeStreamingMaxChannels` (integer | null)
    * `splitEventsByType` (boolean | null)
    * `stagingSchema` (string | null)
    * `staticColumns` (object[] | null)
      * `column` (string)
      * `value` (string)
    * `structAsVariant` (boolean | null)
    * `truncateExceededValues` (boolean | null)
    * `turboLatencyThresholdMinutes` (integer | null)
    * `turboRowThreshold` (integer | null)
    * `turboWarehouse` (string | null)
    * `useBQBatchPriority` (boolean | null)
    * `useBigNumericForVariableNumeric` (boolean | null)
    * `useDoubleForVariableNumeric` (boolean | null)
    * `useNewStringMethod` (boolean | null)
    * `useSnowpipeStreaming` (boolean | null)
    * `writeRawBinaryValues` (boolean | null)
  * `columnHashingSaltUUID` (string<uuid> | null)
  * `dataPlaneName` (string)
  * `destinationUUID` (string<uuid> | null)
  * `encryptionKeyUUID` (string<uuid> | null)
  * `name` (string)
  * `snowflakeEcoScheduleUUID` (string<uuid> | null)
  * `sourceReaderUUID` (string<uuid>)
  * `specificDestCfg` (object)
    * `bucketName` (string)
    * `checkpointInterval` (integer)
    * `compaction` (object)
      * `enabled` (boolean)
      * `everySeconds` (integer)
      * `quietWindow` (object)
        * `end` (string)
        * `start` (string)
    * `containerName` (string)
    * `database` (string)
    * `dynamicallyCreateNamespaces` (boolean)
    * `externalStageName` (string)
    * `externalStageS3Bucket` (string)
    * `externalStageS3Prefix` (string)
    * `folderName` (string)
    * `icebergFormatVersion` (string) One of: `v2`, `v3`.
    * `schema` (string)
    * `schemaNamePrefix` (string)
    * `tableNameSeparator` (string)
    * `useSameSchemaAsSource` (boolean)
  * `tables` (object[] | null)
    * `advancedSettings` (object)
      * `alias` (string | null)
      * `bufferRows` (integer | null)
      * `columnsToCompress` (string[])
      * `columnsToEncrypt` (string[])
      * `columnsToHash` (string[])
      * `columnsToTrim` (string[])
      * `ctidSettings` (object)
        * `chunkSize` (integer, range `x ≥ 0`)
        * `enabled` (boolean)
        * `maxParallelism` (integer, range `x ≥ 0`)
        * `physicalRanges` (object)
          * `enabled` (boolean)
          * `pagesPerRange` (integer, range `x ≥ 0`)
      * `encryptJSONBColumns` (boolean | null)
      * `excludeColumns` (string[])
      * `flattenDocuments` (boolean | null)
      * `flattenDocumentsMaxDepth` (integer | null, range `x ≥ 0`)
      * `flushIntervalSeconds` (integer | null)
      * `flushSizeKb` (integer | null)
      * `includeColumns` (string[])
      * `k8sRequestCPU` (integer | null, range `x ≥ 0`)
      * `k8sRequestMemoryMB` (integer | null, range `x ≥ 0`)
      * `mergePredicates` (object[])
        * `partitionBy` (string)
        * `partitionField` (string)
        * `partitionType` (string)
      * `msmFlushCount` (integer | null, range `x ≥ 0`)
      * `partitionRangeSettings` (object)
        * `enabled` (boolean)
        * `range` (object)
          * `batchSize` (integer, range `x ≥ 0`)
          * `chunksSize` (integer, range `x ≥ 0`)
          * `enabled` (boolean)
          * `maxParallelism` (integer, range `x ≥ 0`)
      * `primaryKeysOverride` (string[] | null)
      * `rangeSettings` (object)
        * `batchSize` (integer, range `x ≥ 0`)
        * `chunksSize` (integer, range `x ≥ 0`)
        * `enabled` (boolean)
        * `maxParallelism` (integer, range `x ≥ 0`)
      * `shouldBackfillHistoryTable` (boolean | null)
      * `skipBackfill` (boolean | null)
      * `skipDelete` (boolean | null)
      * `skipNoOpUpdates` (boolean | null)
      * `softPartitioning` (object)
        * `enabled` (boolean)
        * `maxPartitions` (integer)
        * `partitionColumn` (string)
        * `partitionFrequency` (string)
        * `partitionSchema` (string)
      * `streamARN` (string | null)
      * `unifyAcrossDatabases` (boolean | null)
      * `unifyAcrossSchemas` (boolean | null)
    * `disableReplication` (boolean | null, deprecated)
    * `enableHistoryMode` (boolean)
    * `individualDeployment` (boolean | null)
    * `name` (string)
    * `schema` (string)
    * `status` (string | null)
    * `uuid` (string<uuid>)
* `sourceReader` (object, required)
  * `apiBaseURL` (string)
  * `archiveConnectorUUID` (string<uuid> | null)
  * `companyUUID` (string<uuid>, required)
  * `connectorUUID` (string<uuid>, required)
  * `containerName` (string, required)
  * `createdAt` (string<date-time>)
  * `dataPlaneName` (string, required)
  * `database` (string, required)
  * `environmentUUID` (string<uuid>, required)
  * `isShared` (boolean | null)
  * `isValid` (boolean, required)
  * `name` (string, required)
  * `settings` (object, required)
    * `archiveLocationType` (string) One of: `azure_blob`, `smb_share`.
    * `archiveLogPassword` (string | null)
    * `archiveLogPath` (string | null)
    * `archiveLogPrivateLinkUUID` (string<uuid> | null, deprecated)
    * `archiveLogUsername` (string | null, deprecated)
    * `backfillBatchSize` (integer | null, range `x ≥ 0`)
    * `backfillDefaults` (object)
      * `chunkSize` (integer, range `100000 ≤ x ≤ 100000000`)
      * `pagination` (string) One of: `client`, `server`.
      * `parallelism` (integer, range `1 ≤ x ≤ 50`)
      * `preset` (string) One of: `normal`, `performance`.
      * `readMode` (string) One of: `primaryKey`, `range`, `ctid`.
    * `collectionScopedMode` (boolean | null)
    * `compositeTypesAsText` (boolean | null)
    * `databasesToSync` (string[] | null)
    * `deploymentScopedMode` (boolean | null)
    * `disableAutoFetchTables` (boolean | null)
    * `disableFullDocumentBeforeChange` (boolean | null)
    * `disableNoCursorTimeout` (boolean | null)
    * `enableClientSideFullDocumentLookup` (boolean | null)
    * `enableHeartbeats` (boolean | null)
    * `enableRelationMessageCaching` (boolean | null)
    * `enableSchemaHistoryCompaction` (boolean | null)
    * `maxConnIdleTimeSeconds` (integer | null)
    * `messageCompression` (string | null) One of: `gzip`, ``, `null`.
    * `mssqlChangeTrackingConcurrency` (integer | null)
    * `mssqlChangeTrackingMaxIdleConns` (integer | null)
    * `mssqlChangeTrackingPollIntervalMs` (integer | null, range `x ≥ 0`)
    * `mssqlReplicationMethod` (string | null)
    * `oneTopicPerSchema` (boolean | null)
    * `publicationAutoCreateMode` (string | null)
    * `publicationNameOverride` (string | null)
    * `publishViaPartitionRoot` (boolean | null)
    * `replicationSlotOverride` (string | null)
    * `s3PathMappings` (object[] | null)
      * `id` (string, required)
      * `match` (object, required)
        * `fileNameRegex` (string)
      * `metadata` (object, required)
        * `columns` (string[])
      * `parser` (object, required)
        * `columnOrder` (string[])
        * `csv` (object)
          * `commentPrefix` (string)
          * `delimiter` (string)
          * `headers` (string[])
          * `nullValues` (string[])
          * `trimWhitespace` (boolean)
        * `type` (string, required) One of: `csv`, `json`, `parquet`, `ach`.
      * `prefix` (string, required)
      * `primaryKey` (string[])
      * `referenceID` (string, required)
    * `unifyAcrossDatabases` (boolean | null)
    * `unifyAcrossDatabasesRegex` (string | null)
    * `unifyAcrossSchemas` (boolean | null)
    * `unifyAcrossSchemasMaxParallelism` (integer | null, range `0 ≤ x ≤ 3`)
    * `unifyAcrossSchemasRegex` (string | null)
    * `useAdvanceOnPrimaryKeepAlive` (boolean | null)
    * `useFailoverReplicationSlot` (boolean | null)
    * `useNumericTypesForMoney` (boolean | null)
    * `useReaderForOracleStreaming` (boolean | null)
  * `status` (string, required) One of: `draft`, `paused`, `running`.
  * `tablesConfig` (Record<string, object> | null)
    * `excludeColumns` (string[])
    * `includeColumns` (string[])
    * `name` (string)
    * `schema` (string)
    * `unifyAcrossDatabases` (boolean)
    * `unifyAcrossSchemas` (boolean)
  * `updatedAt` (string<date-time>)
  * `uuid` (string<uuid>, required)

## Example request

```bash
curl --request POST \
  --url https://api.artie.com/pipelines/{uuid}/update-with-source-reader \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pipeline": {
    "advancedSettings": {
      "appendOnly": true,
      "autoEnableHistoryForNewTables": true,
      "autoEnableHistoryIgnoreRegex": "<string>",
      "autoEnableHistoryIncludeRegex": "<string>",
      "autoReplicateIgnoreRegex": "<string>",
      "autoReplicateIncludeRegex": "<string>",
      "autoReplicateNewTables": true,
      "backfillMySQLFloatsAsShortestDecimal": true,
      "bigQueryReservation": "<string>",
      "bufferRows": 123,
      "castAllColumnsToString": true,
      "databricksAutoLiquidClustering": true,
      "databricksDisableVariantShredding": true,
      "defaultSourceSchema": "<string>",
      "disableAlerts": true,
      "dropDeletedColumns": true,
      "dynamoDBBackfillConfig": {
        "bucket": "<string>",
        "enabled": true,
        "exportArn": "<string>",
        "maxParallelism": 0,
        "optionalFolder": "<string>"
      },
      "enableSoftDelete": true,
      "flushIntervalSeconds": 123,
      "flushSizeKb": 123,
      "forceUTCTimezone": true,
      "includeArtieOperationColumn": true,
      "includeArtieUpdatedAtColumn": true,
      "includeDatabaseUpdatedAtColumn": true,
      "includeFullSourceTableNameColumn": true,
      "includeFullSourceTableNameColumnAsPrimaryKey": true,
      "includeSourceMetadataColumn": true,
      "jsonAsVarchar": true,
      "jsonParseTruncateStrings": true,
      "maxConcurrentSnapshots": 0,
      "postgresPartitionMirroring": true,
      "snowpipeStreamingMaxChannels": 123,
      "splitEventsByType": true,
      "stagingSchema": "<string>",
      "staticColumns": [
        {
          "column": "<string>",
          "value": "<string>"
        }
      ],
      "structAsVariant": true,
      "truncateExceededValues": true,
      "turboLatencyThresholdMinutes": 123,
      "turboRowThreshold": 123,
      "turboWarehouse": "<string>",
      "useBQBatchPriority": true,
      "useBigNumericForVariableNumeric": true,
      "useDoubleForVariableNumeric": true,
      "useNewStringMethod": true,
      "useSnowpipeStreaming": true,
      "writeRawBinaryValues": true
    },
    "columnHashingSaltUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "dataPlaneName": "<string>",
    "destinationUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "encryptionKeyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "snowflakeEcoScheduleUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "sourceReaderUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "specificDestCfg": {
      "bucketName": "<string>",
      "checkpointInterval": 123,
      "compaction": {
        "enabled": true,
        "everySeconds": 123,
        "quietWindow": {
          "end": "<string>",
          "start": "<string>"
        }
      },
      "containerName": "<string>",
      "database": "<string>",
      "dynamicallyCreateNamespaces": true,
      "externalStageName": "<string>",
      "externalStageS3Bucket": "<string>",
      "externalStageS3Prefix": "<string>",
      "folderName": "<string>",
      "icebergFormatVersion": "v2",
      "schema": "<string>",
      "schemaNamePrefix": "<string>",
      "tableNameSeparator": "<string>",
      "useSameSchemaAsSource": true
    },
    "tables": [
      {
        "advancedSettings": {
          "alias": "<string>",
          "bufferRows": 123,
          "columnsToCompress": [
            "<string>"
          ],
          "columnsToEncrypt": [
            "<string>"
          ],
          "columnsToHash": [
            "<string>"
          ],
          "columnsToTrim": [
            "<string>"
          ],
          "ctidSettings": {
            "chunkSize": 0,
            "enabled": true,
            "maxParallelism": 0,
            "physicalRanges": {
              "enabled": {},
              "pagesPerRange": {}
            }
          },
          "encryptJSONBColumns": true,
          "excludeColumns": [
            "<string>"
          ],
          "flattenDocuments": true,
          "flattenDocumentsMaxDepth": 0,
          "flushIntervalSeconds": 123,
          "flushSizeKb": 123,
          "includeColumns": [
            "<string>"
          ],
          "k8sRequestCPU": 0,
          "k8sRequestMemoryMB": 0,
          "mergePredicates": [
            {
              "partitionBy": {},
              "partitionField": {},
              "partitionType": {}
            }
          ],
          "msmFlushCount": 0,
          "partitionRangeSettings": {
            "enabled": true,
            "range": {
              "batchSize": {},
              "chunksSize": {},
              "enabled": {},
              "maxParallelism": {}
            }
          },
          "primaryKeysOverride": [
            "<string>"
          ],
          "rangeSettings": {
            "batchSize": 0,
            "chunksSize": 0,
            "enabled": true,
            "maxParallelism": 0
          },
          "shouldBackfillHistoryTable": true,
          "skipBackfill": true,
          "skipDelete": true,
          "skipNoOpUpdates": true,
          "softPartitioning": {
            "enabled": true,
            "maxPartitions": 123,
            "partitionColumn": "<string>",
            "partitionFrequency": "<string>",
            "partitionSchema": "<string>"
          },
          "streamARN": "<string>",
          "unifyAcrossDatabases": true,
          "unifyAcrossSchemas": true
        },
        "disableReplication": true,
        "enableHistoryMode": true,
        "individualDeployment": true,
        "name": "<string>",
        "schema": "<string>",
        "status": "<string>",
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    ]
  },
  "sourceReader": {
    "apiBaseURL": "<string>",
    "archiveConnectorUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "companyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "connectorUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "containerName": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "dataPlaneName": "<string>",
    "database": "<string>",
    "environmentUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "isShared": true,
    "isValid": true,
    "name": "<string>",
    "settings": {
      "archiveLocationType": "azure_blob",
      "archiveLogPassword": "<string>",
      "archiveLogPath": "<string>",
      "archiveLogPrivateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "archiveLogUsername": "<string>",
      "backfillBatchSize": 0,
      "backfillDefaults": {
        "chunkSize": 100000,
        "pagination": "client",
        "parallelism": 1,
        "preset": "normal",
        "readMode": "primaryKey"
      },
      "collectionScopedMode": true,
      "compositeTypesAsText": true,
      "databasesToSync": [
        "<string>"
      ],
      "deploymentScopedMode": true,
      "disableAutoFetchTables": true,
      "disableFullDocumentBeforeChange": true,
      "disableNoCursorTimeout": true,
      "enableClientSideFullDocumentLookup": true,
      "enableHeartbeats": true,
      "enableRelationMessageCaching": true,
      "enableSchemaHistoryCompaction": true,
      "maxConnIdleTimeSeconds": 123,
      "messageCompression": "gzip",
      "mssqlChangeTrackingConcurrency": 123,
      "mssqlChangeTrackingMaxIdleConns": 123,
      "mssqlChangeTrackingPollIntervalMs": 0,
      "mssqlReplicationMethod": "<string>",
      "oneTopicPerSchema": true,
      "publicationAutoCreateMode": "<string>",
      "publicationNameOverride": "<string>",
      "publishViaPartitionRoot": true,
      "replicationSlotOverride": "<string>",
      "s3PathMappings": [
        {
          "id": "<string>",
          "match": {
            "fileNameRegex": "<string>"
          },
          "metadata": {
            "columns": [
              "artieSourcePath"
            ]
          },
          "parser": {
            "columnOrder": [
              {}
            ],
            "csv": {
              "commentPrefix": {},
              "delimiter": {},
              "headers": {},
              "nullValues": {},
              "trimWhitespace": {}
            },
            "type": "csv"
          },
          "prefix": "<string>",
          "primaryKey": [
            "<string>"
          ],
          "referenceID": "<string>"
        }
      ],
      "unifyAcrossDatabases": true,
      "unifyAcrossDatabasesRegex": "<string>",
      "unifyAcrossSchemas": true,
      "unifyAcrossSchemasMaxParallelism": 0,
      "unifyAcrossSchemasRegex": "<string>",
      "useAdvanceOnPrimaryKeepAlive": true,
      "useFailoverReplicationSlot": true,
      "useNumericTypesForMoney": true,
      "useReaderForOracleStreaming": true
    },
    "status": "draft",
    "tablesConfig": {
      "key": {
        "excludeColumns": [
          "<string>"
        ],
        "includeColumns": [
          "<string>"
        ],
        "name": "<string>",
        "schema": "<string>",
        "unifyAcrossDatabases": true,
        "unifyAcrossSchemas": true
      }
    },
    "updatedAt": "2023-11-07T05:31:56Z",
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}'
```

## Responses

### 200 OK

* `pipeline` (object, required)
  * `advancedSettings` (object, required)
    * `appendOnly` (boolean)
    * `autoEnableHistoryForNewTables` (boolean)
    * `autoEnableHistoryIgnoreRegex` (string)
    * `autoEnableHistoryIncludeRegex` (string)
    * `autoReplicateIgnoreRegex` (string)
    * `autoReplicateIncludeRegex` (string)
    * `autoReplicateNewTables` (boolean)
    * `backfillMySQLFloatsAsShortestDecimal` (boolean)
    * `bigQueryReservation` (string)
    * `bufferRows` (integer)
    * `castAllColumnsToString` (boolean)
    * `databricksAutoLiquidClustering` (boolean)
    * `databricksDisableVariantShredding` (boolean)
    * `defaultSourceSchema` (string)
    * `disableAlerts` (boolean)
    * `dropDeletedColumns` (boolean)
    * `dynamoDBBackfillConfig` (object)
      * `bucket` (string)
      * `enabled` (boolean)
      * `exportArn` (string)
      * `maxParallelism` (integer)
      * `optionalFolder` (string)
    * `enableSoftDelete` (boolean)
    * `flushIntervalSeconds` (integer)
    * `flushSizeKb` (integer)
    * `forceUTCTimezone` (boolean)
    * `includeArtieOperationColumn` (boolean)
    * `includeArtieUpdatedAtColumn` (boolean)
    * `includeDatabaseUpdatedAtColumn` (boolean)
    * `includeFullSourceTableNameColumn` (boolean)
    * `includeFullSourceTableNameColumnAsPrimaryKey` (boolean)
    * `includeSourceMetadataColumn` (boolean)
    * `jsonAsVarchar` (boolean)
    * `jsonParseTruncateStrings` (boolean)
    * `maxConcurrentSnapshots` (integer)
    * `nullOutInvalidValues` (boolean)
    * `postgresPartitionMirroring` (boolean)
    * `reuseStagingTable` (boolean)
    * `snowpipeStreamingMaxChannels` (integer)
    * `splitEventsByType` (boolean)
    * `stagingSchema` (string)
    * `staticColumns` (object[] | null)
      * `column` (string)
      * `value` (string)
    * `structAsVariant` (boolean)
    * `truncateExceededValues` (boolean)
    * `turboLatencyThresholdMinutes` (integer)
    * `turboRowThreshold` (integer)
    * `turboWarehouse` (string)
    * `useBQBatchPriority` (boolean)
    * `useBigNumericForVariableNumeric` (boolean)
    * `useDoubleForVariableNumeric` (boolean)
    * `useNewStringMethod` (boolean | null)
    * `useSnowpipeStreaming` (boolean)
    * `writeRawBinaryValues` (boolean)
  * `backfillStages` (object[])
    * `error` (string)
    * `rowsWritten` (integer<int64>)
    * `stage` (string, required) One of: `queued`, `snapshotting`, `copying`, `merging`, `done`, `failed`, `cancelled`.
    * `timestamp` (string<date-time>, required)
  * `columnHashingSaltUUID` (string<uuid> | null)
  * `companyUUID` (string<uuid>, required)
  * `createdAt` (string<date-time>, required)
  * `dataPlaneName` (string, required)
  * `destinationUUID` (string<uuid> | null)
  * `encryptionKeyUUID` (string<uuid> | null)
  * `environmentUUID` (string<uuid>, required)
  * `forceFlushUntil` (string<date-time> | null)
  * `hasBackfillingTables` (boolean)
  * `hasUndeployedChanges` (boolean, required)
  * `historyBackfillStages` (object[])
    * `error` (string)
    * `rowsWritten` (integer<int64>)
    * `stage` (string, required) One of: `queued`, `snapshotting`, `copying`, `merging`, `done`, `failed`, `cancelled`.
    * `timestamp` (string<date-time>, required)
  * `icebergNativeEngine` (boolean)
  * `isDeploying` (boolean, required)
  * `lastDeployError` (string)
  * `lastDeployFailedAt` (string<date-time> | null)
  * `lastDeployedAt` (string<date-time> | null)
  * `lastUpdatedAt` (string<date-time>, required)
  * `name` (string, required)
  * `snowflakeEcoScheduleUUID` (string<uuid> | null)
  * `sourceReaderUUID` (string<uuid>)
  * `sourceType` (string, required) One of: `api`, `bigquery`, `clickhouse`, `cockroach`, `databricks`, `documentdb`, `delta`, `dynamodb`, `gcs`, `iceberg`, `kafka`, `keyspaces`, `mongodb`, `motherduck`, `mssql`, `mysql`, `oracle`, `planetscale`, `postgresql`, `redis`, `redshift`, `s3`, `smb_share`, `snowflake`.
  * `specificDestCfg` (object, required)
    * `bucketName` (string)
    * `checkpointInterval` (integer)
    * `compaction` (object)
      * `enabled` (boolean)
      * `everySeconds` (integer)
      * `quietWindow` (object)
        * `end` (string)
        * `start` (string)
    * `containerName` (string)
    * `database` (string)
    * `dynamicallyCreateNamespaces` (boolean)
    * `externalStageName` (string)
    * `externalStageS3Bucket` (string)
    * `externalStageS3Prefix` (string)
    * `folderName` (string)
    * `icebergFormatVersion` (string) One of: `v2`, `v3`.
    * `schema` (string)
    * `schemaNamePrefix` (string)
    * `tableNameSeparator` (string)
    * `useSameSchemaAsSource` (boolean)
  * `status` (string) One of: `draft`, `paused`, `transfer paused`, `running`.
  * `tables` (object[], required)
    * `advancedSettings` (object)
      * `alias` (string)
      * `backfillFromDatabases` (string[] | null)
      * `backfillFromSchemas` (string[] | null)
      * `bigQueryPartitionSettings` (object)
        * `partitionBy` (string)
        * `partitionField` (string)
        * `partitionType` (string)
      * `bufferRows` (integer)
      * `columnsToCompress` (string[])
      * `columnsToEncrypt` (string[])
      * `columnsToHash` (string[])
      * `columnsToTrim` (string[])
      * `ctidSettings` (object)
        * `chunkSize` (integer)
        * `enabled` (boolean)
        * `maxParallelism` (integer)
        * `physicalRanges` (object)
          * `enabled` (boolean)
          * `pagesPerRange` (integer)
      * `encryptJSONBColumns` (boolean)
      * `endingPrimaryKey` (string)
      * `excludeColumns` (string[])
      * `flattenDocuments` (boolean)
      * `flattenDocumentsMaxDepth` (integer)
      * `flushIntervalSeconds` (integer)
      * `flushSizeKb` (integer)
      * `historyTableBackfillFromSchemas` (string[] | null)
      * `includeColumns` (string[])
      * `k8sRequestCPU` (integer)
      * `k8sRequestMemoryMB` (integer)
      * `keepOldSwapTable` (boolean)
      * `mergePredicates` (object[])
        * `partitionBy` (string)
        * `partitionField` (string)
        * `partitionType` (string)
      * `msmFlushCount` (integer)
      * `partitionRangeSettings` (object)
        * `enabled` (boolean)
        * `range` (object)
          * `batchSize` (integer)
          * `chunksSize` (integer)
          * `enabled` (boolean)
          * `maxParallelism` (integer)
      * `previousSwapTableSuffix` (string)
      * `primaryKeysOverride` (string[] | null)
      * `rangeSettings` (object)
        * `batchSize` (integer)
        * `chunksSize` (integer)
        * `enabled` (boolean)
        * `maxParallelism` (integer)
      * `shouldBackfillHistoryTable` (boolean | null)
      * `skipBackfill` (boolean)
      * `skipDelete` (boolean)
      * `skipNoOpUpdates` (boolean)
      * `softPartitioning` (object)
        * `enabled` (boolean)
        * `maxPartitions` (integer)
        * `partitionColumn` (string)
        * `partitionFrequency` (string)
        * `partitionSchema` (string)
      * `startingPrimaryKey` (string)
      * `streamARN` (string)
      * `swapTableSuffix` (string)
      * `unifyAcrossDatabases` (boolean)
      * `unifyAcrossSchemas` (boolean)
    * `backfillStages` (object[])
      * `error` (string)
      * `rowsWritten` (integer<int64>)
      * `stage` (string, required) One of: `queued`, `snapshotting`, `copying`, `merging`, `done`, `failed`, `cancelled`.
      * `timestamp` (string<date-time>, required)
    * `createdAt` (string<date-time>)
    * `destinationTableName` (string)
    * `disableReplication` (boolean, deprecated)
    * `enableHistoryMode` (boolean)
    * `historyBackfillStages` (object[])
      * `error` (string)
      * `rowsWritten` (integer<int64>)
      * `stage` (string, required) One of: `queued`, `snapshotting`, `copying`, `merging`, `done`, `failed`, `cancelled`.
      * `timestamp` (string<date-time>, required)
    * `historyTableStatus` (string)
    * `individualDeployment` (boolean)
    * `name` (string)
    * `schema` (string)
    * `status` (string)
    * `updatedAt` (string<date-time>)
    * `uuid` (string<uuid>)
  * `uuid` (string<uuid>, required)
* `sourceReader` (object, required)
  * `apiBaseURL` (string)
  * `archiveConnectorUUID` (string<uuid> | null)
  * `companyUUID` (string<uuid>, required)
  * `connectorUUID` (string<uuid>, required)
  * `containerName` (string, required)
  * `createdAt` (string<date-time>)
  * `dataPlaneName` (string, required)
  * `database` (string, required)
  * `environmentUUID` (string<uuid>, required)
  * `isShared` (boolean | null)
  * `isValid` (boolean, required)
  * `name` (string, required)
  * `settings` (object, required)
    * `archiveLocationType` (string) One of: `azure_blob`, `smb_share`.
    * `archiveLogPassword` (string | null)
    * `archiveLogPath` (string | null)
    * `archiveLogPrivateLinkUUID` (string<uuid> | null, deprecated)
    * `archiveLogUsername` (string | null, deprecated)
    * `backfillBatchSize` (integer | null)
    * `backfillDefaults` (object)
      * `chunkSize` (integer, range `100000 ≤ x ≤ 100000000`)
      * `pagination` (string) One of: `client`, `server`.
      * `parallelism` (integer, range `1 ≤ x ≤ 50`)
      * `preset` (string) One of: `normal`, `performance`.
      * `readMode` (string) One of: `primaryKey`, `range`, `ctid`.
    * `collectionScopedMode` (boolean | null)
    * `compositeTypesAsText` (boolean | null)
    * `databasesToSync` (string[] | null)
    * `deploymentScopedMode` (boolean | null)
    * `disableAutoFetchTables` (boolean | null)
    * `disableFullDocumentBeforeChange` (boolean | null)
    * `disableNoCursorTimeout` (boolean | null)
    * `enableClientSideFullDocumentLookup` (boolean | null)
    * `enableHeartbeats` (boolean | null)
    * `enableRelationMessageCaching` (boolean | null)
    * `enableSchemaHistoryCompaction` (boolean | null)
    * `maxConnIdleTimeSeconds` (integer | null)
    * `messageCompression` (string | null) One of: `gzip`, ``, `null`.
    * `mssqlChangeTrackingConcurrency` (integer | null)
    * `mssqlChangeTrackingMaxIdleConns` (integer | null)
    * `mssqlChangeTrackingPollIntervalMs` (integer | null)
    * `mssqlReplicationMethod` (string | null)
    * `oneTopicPerSchema` (boolean | null)
    * `publicationAutoCreateMode` (string | null)
    * `publicationNameOverride` (string | null)
    * `publishViaPartitionRoot` (boolean | null)
    * `replicationSlotOverride` (string | null)
    * `s3PathMappings` (object[] | null)
      * `id` (string, required)
      * `match` (object, required)
        * `fileNameRegex` (string)
      * `metadata` (object, required)
        * `columns` (string[])
      * `parser` (object, required)
        * `columnOrder` (string[])
        * `csv` (object)
          * `commentPrefix` (string)
          * `delimiter` (string)
          * `headers` (string[])
          * `nullValues` (string[])
          * `trimWhitespace` (boolean)
        * `type` (string, required) One of: `csv`, `json`, `parquet`, `ach`.
      * `prefix` (string, required)
      * `primaryKey` (string[])
      * `referenceID` (string, required)
    * `unifyAcrossDatabases` (boolean | null)
    * `unifyAcrossDatabasesRegex` (string | null)
    * `unifyAcrossSchemas` (boolean | null)
    * `unifyAcrossSchemasMaxParallelism` (integer | null, range `0 ≤ x ≤ 3`)
    * `unifyAcrossSchemasRegex` (string | null)
    * `useAdvanceOnPrimaryKeepAlive` (boolean | null)
    * `useFailoverReplicationSlot` (boolean | null)
    * `useNumericTypesForMoney` (boolean | null)
    * `useReaderForOracleStreaming` (boolean | null)
  * `status` (string, required) One of: `draft`, `paused`, `running`.
  * `tablesConfig` (Record<string, object> | null)
    * `excludeColumns` (string[])
    * `includeColumns` (string[])
    * `name` (string)
    * `schema` (string)
    * `unifyAcrossDatabases` (boolean)
    * `unifyAcrossSchemas` (boolean)
  * `updatedAt` (string<date-time>)
  * `uuid` (string<uuid>, required)

```json
{
  "pipeline": {
    "advancedSettings": {
      "appendOnly": true,
      "autoEnableHistoryForNewTables": true,
      "autoEnableHistoryIgnoreRegex": "<string>",
      "autoEnableHistoryIncludeRegex": "<string>",
      "autoReplicateIgnoreRegex": "<string>",
      "autoReplicateIncludeRegex": "<string>",
      "autoReplicateNewTables": true,
      "backfillMySQLFloatsAsShortestDecimal": true,
      "bigQueryReservation": "<string>",
      "bufferRows": 123,
      "castAllColumnsToString": true,
      "databricksAutoLiquidClustering": true,
      "databricksDisableVariantShredding": true,
      "defaultSourceSchema": "<string>",
      "disableAlerts": true,
      "dropDeletedColumns": true,
      "dynamoDBBackfillConfig": {
        "bucket": "<string>",
        "enabled": true,
        "exportArn": "<string>",
        "maxParallelism": 0,
        "optionalFolder": "<string>"
      },
      "enableSoftDelete": true,
      "flushIntervalSeconds": 123,
      "flushSizeKb": 123,
      "forceUTCTimezone": true,
      "includeArtieOperationColumn": true,
      "includeArtieUpdatedAtColumn": true,
      "includeDatabaseUpdatedAtColumn": true,
      "includeFullSourceTableNameColumn": true,
      "includeFullSourceTableNameColumnAsPrimaryKey": true,
      "includeSourceMetadataColumn": true,
      "jsonAsVarchar": true,
      "jsonParseTruncateStrings": true,
      "maxConcurrentSnapshots": 0,
      "nullOutInvalidValues": true,
      "postgresPartitionMirroring": true,
      "reuseStagingTable": true,
      "snowpipeStreamingMaxChannels": 123,
      "splitEventsByType": true,
      "stagingSchema": "<string>",
      "staticColumns": [
        {
          "column": "<string>",
          "value": "<string>"
        }
      ],
      "structAsVariant": true,
      "truncateExceededValues": true,
      "turboLatencyThresholdMinutes": 123,
      "turboRowThreshold": 123,
      "turboWarehouse": "<string>",
      "useBQBatchPriority": true,
      "useBigNumericForVariableNumeric": true,
      "useDoubleForVariableNumeric": true,
      "useNewStringMethod": true,
      "useSnowpipeStreaming": true,
      "writeRawBinaryValues": true
    },
    "backfillStages": [
      {
        "error": "<string>",
        "rowsWritten": 123,
        "stage": "queued",
        "timestamp": "2023-11-07T05:31:56Z"
      }
    ],
    "columnHashingSaltUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "companyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "dataPlaneName": "<string>",
    "destinationUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "encryptionKeyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "environmentUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "forceFlushUntil": "2023-11-07T05:31:56Z",
    "hasBackfillingTables": true,
    "hasUndeployedChanges": true,
    "historyBackfillStages": [
      {
        "error": "<string>",
        "rowsWritten": 123,
        "stage": "queued",
        "timestamp": "2023-11-07T05:31:56Z"
      }
    ],
    "icebergNativeEngine": true,
    "isDeploying": true,
    "lastDeployError": "<string>",
    "lastDeployFailedAt": "2023-11-07T05:31:56Z",
    "lastDeployedAt": "2023-11-07T05:31:56Z",
    "lastUpdatedAt": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "snowflakeEcoScheduleUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "sourceReaderUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "sourceType": "api",
    "specificDestCfg": {
      "bucketName": "<string>",
      "checkpointInterval": 123,
      "compaction": {
        "enabled": true,
        "everySeconds": 123,
        "quietWindow": {
          "end": "<string>",
          "start": "<string>"
        }
      },
      "containerName": "<string>",
      "database": "<string>",
      "dynamicallyCreateNamespaces": true,
      "externalStageName": "<string>",
      "externalStageS3Bucket": "<string>",
      "externalStageS3Prefix": "<string>",
      "folderName": "<string>",
      "icebergFormatVersion": "v2",
      "schema": "<string>",
      "schemaNamePrefix": "<string>",
      "tableNameSeparator": "<string>",
      "useSameSchemaAsSource": true
    },
    "status": "draft",
    "tables": [
      {
        "advancedSettings": {
          "alias": "<string>",
          "backfillFromDatabases": [
            "<string>"
          ],
          "backfillFromSchemas": [
            "<string>"
          ],
          "bigQueryPartitionSettings": {
            "partitionBy": "<string>",
            "partitionField": "<string>",
            "partitionType": "<string>"
          },
          "bufferRows": 123,
          "columnsToCompress": [
            "<string>"
          ],
          "columnsToEncrypt": [
            "<string>"
          ],
          "columnsToHash": [
            "<string>"
          ],
          "columnsToTrim": [
            "<string>"
          ],
          "ctidSettings": {
            "chunkSize": 0,
            "enabled": true,
            "maxParallelism": 0,
            "physicalRanges": {
              "enabled": {},
              "pagesPerRange": {}
            }
          },
          "encryptJSONBColumns": true,
          "endingPrimaryKey": "<string>",
          "excludeColumns": [
            "<string>"
          ],
          "flattenDocuments": true,
          "flattenDocumentsMaxDepth": 0,
          "flushIntervalSeconds": 123,
          "flushSizeKb": 123,
          "historyTableBackfillFromSchemas": [
            "<string>"
          ],
          "includeColumns": [
            "<string>"
          ],
          "k8sRequestCPU": 0,
          "k8sRequestMemoryMB": 0,
          "keepOldSwapTable": true,
          "mergePredicates": [
            {
              "partitionBy": {},
              "partitionField": {},
              "partitionType": {}
            }
          ],
          "msmFlushCount": 0,
          "partitionRangeSettings": {
            "enabled": true,
            "range": {
              "batchSize": {},
              "chunksSize": {},
              "enabled": {},
              "maxParallelism": {}
            }
          },
          "previousSwapTableSuffix": "<string>",
          "primaryKeysOverride": [
            "<string>"
          ],
          "rangeSettings": {
            "batchSize": 0,
            "chunksSize": 0,
            "enabled": true,
            "maxParallelism": 0
          },
          "shouldBackfillHistoryTable": true,
          "skipBackfill": true,
          "skipDelete": true,
          "skipNoOpUpdates": true,
          "softPartitioning": {
            "enabled": true,
            "maxPartitions": 123,
            "partitionColumn": "<string>",
            "partitionFrequency": "<string>",
            "partitionSchema": "<string>"
          },
          "startingPrimaryKey": "<string>",
          "streamARN": "<string>",
          "swapTableSuffix": "<string>",
          "unifyAcrossDatabases": true,
          "unifyAcrossSchemas": true
        },
        "backfillStages": [
          {
            "error": "<string>",
            "rowsWritten": 123,
            "stage": "queued",
            "timestamp": "2023-11-07T05:31:56Z"
          }
        ],
        "createdAt": "2023-11-07T05:31:56Z",
        "destinationTableName": "<string>",
        "disableReplication": true,
        "enableHistoryMode": true,
        "historyBackfillStages": [
          {
            "error": "<string>",
            "rowsWritten": 123,
            "stage": "queued",
            "timestamp": "2023-11-07T05:31:56Z"
          }
        ],
        "historyTableStatus": "<string>",
        "individualDeployment": true,
        "name": "<string>",
        "schema": "<string>",
        "status": "<string>",
        "updatedAt": "2023-11-07T05:31:56Z",
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    ],
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "sourceReader": {
    "apiBaseURL": "<string>",
    "archiveConnectorUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "companyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "connectorUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "containerName": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "dataPlaneName": "<string>",
    "database": "<string>",
    "environmentUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "isShared": true,
    "isValid": true,
    "name": "<string>",
    "settings": {
      "archiveLocationType": "azure_blob",
      "archiveLogPassword": "<string>",
      "archiveLogPath": "<string>",
      "archiveLogPrivateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "archiveLogUsername": "<string>",
      "backfillBatchSize": 0,
      "backfillDefaults": {
        "chunkSize": 100000,
        "pagination": "client",
        "parallelism": 1,
        "preset": "normal",
        "readMode": "primaryKey"
      },
      "collectionScopedMode": true,
      "compositeTypesAsText": true,
      "databasesToSync": [
        "<string>"
      ],
      "deploymentScopedMode": true,
      "disableAutoFetchTables": true,
      "disableFullDocumentBeforeChange": true,
      "disableNoCursorTimeout": true,
      "enableClientSideFullDocumentLookup": true,
      "enableHeartbeats": true,
      "enableRelationMessageCaching": true,
      "enableSchemaHistoryCompaction": true,
      "maxConnIdleTimeSeconds": 123,
      "messageCompression": "gzip",
      "mssqlChangeTrackingConcurrency": 123,
      "mssqlChangeTrackingMaxIdleConns": 123,
      "mssqlChangeTrackingPollIntervalMs": 0,
      "mssqlReplicationMethod": "<string>",
      "oneTopicPerSchema": true,
      "publicationAutoCreateMode": "<string>",
      "publicationNameOverride": "<string>",
      "publishViaPartitionRoot": true,
      "replicationSlotOverride": "<string>",
      "s3PathMappings": [
        {
          "id": "<string>",
          "match": {
            "fileNameRegex": "<string>"
          },
          "metadata": {
            "columns": [
              "artieSourcePath"
            ]
          },
          "parser": {
            "columnOrder": [
              {}
            ],
            "csv": {
              "commentPrefix": {},
              "delimiter": {},
              "headers": {},
              "nullValues": {},
              "trimWhitespace": {}
            },
            "type": "csv"
          },
          "prefix": "<string>",
          "primaryKey": [
            "<string>"
          ],
          "referenceID": "<string>"
        }
      ],
      "unifyAcrossDatabases": true,
      "unifyAcrossDatabasesRegex": "<string>",
      "unifyAcrossSchemas": true,
      "unifyAcrossSchemasMaxParallelism": 0,
      "unifyAcrossSchemasRegex": "<string>",
      "useAdvanceOnPrimaryKeepAlive": true,
      "useFailoverReplicationSlot": true,
      "useNumericTypesForMoney": true,
      "useReaderForOracleStreaming": true
    },
    "status": "draft",
    "tablesConfig": {
      "key": {
        "excludeColumns": [
          "<string>"
        ],
        "includeColumns": [
          "<string>"
        ],
        "name": "<string>",
        "schema": "<string>",
        "unifyAcrossDatabases": true,
        "unifyAcrossSchemas": true
      }
    },
    "updatedAt": "2023-11-07T05:31:56Z",
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}
```

### 400 Bad Request

### 500 Internal Server Error