Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Pipelines

Validate unsaved destination

POST/pipelines/validate-unsaved-destination

Validates destination configuration without persisting. Returns 204 on success or 200 with error message on validation failure. A destination that names a saved connector by uuid also needs connectors:write.

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request POST \
  --url https://api.artie.com/pipelines/validate-unsaved-destination \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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
  },
  "destination": {
    "dataPlaneName": "<string>",
    "defaultDatabase": "<string>",
    "draftPipelineUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "environmentUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "label": "<string>",
    "privateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "sharedConfig": {},
    "snapshotPrivateLinkUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "sshTunnelUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "<string>",
    "uuid": "<string>"
  },
  "destinationUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "pipelineUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sourceReaderUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sourceType": "<string>",
  "specificCfg": {
    "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>",
        "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": true,
            "pagesPerRange": 0
          }
        },
        "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": "<string>",
            "partitionField": "<string>",
            "partitionType": "<string>"
          }
        ],
        "msmFlushCount": 0,
        "partitionRangeSettings": {
          "enabled": true,
          "range": {
            "batchSize": 0,
            "chunksSize": 0,
            "enabled": true,
            "maxParallelism": 0
          }
        },
        "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"
    }
  ]
}'

Body

application/json

  • advancedSettingsobject
    Show child attributes
    • appendOnlyboolean | null
    • autoEnableHistoryForNewTablesboolean | null
    • autoEnableHistoryIgnoreRegexstring | null
    • autoEnableHistoryIncludeRegexstring | null
    • autoReplicateIgnoreRegexstring | null
    • autoReplicateIncludeRegexstring | null
    • autoReplicateNewTablesboolean | null
    • backfillMySQLFloatsAsShortestDecimalboolean | null
    • bigQueryReservationstring | null
    • bufferRowsinteger | null
    • castAllColumnsToStringboolean | null
    • databricksAutoLiquidClusteringboolean | null
    • databricksDisableVariantShreddingboolean | null
    • defaultSourceSchemastring | null
    • disableAlertsboolean | null
    • dropDeletedColumnsboolean | null
    • dynamoDBBackfillConfigobject
      Show child attributes
      • bucketstring
      • enabledboolean
      • exportArnstring
      • maxParallelisminteger

        Range x ≥ 0

      • optionalFolderstring
    • enableSoftDeleteboolean | null
    • flushIntervalSecondsinteger | null
    • flushSizeKbinteger | null
    • forceUTCTimezoneboolean | null
    • includeArtieOperationColumnboolean | null
    • includeArtieUpdatedAtColumnboolean | null
    • includeDatabaseUpdatedAtColumnboolean | null
    • includeFullSourceTableNameColumnboolean | null
    • includeFullSourceTableNameColumnAsPrimaryKeyboolean | null
    • includeSourceMetadataColumnboolean | null
    • jsonAsVarcharboolean | null
    • jsonParseTruncateStringsboolean | null
    • maxConcurrentSnapshotsinteger | null

      Range x ≥ 0

    • postgresPartitionMirroringboolean | null
    • snowpipeStreamingMaxChannelsinteger | null
    • splitEventsByTypeboolean | null
    • stagingSchemastring | null
    • staticColumnsobject[] | null
      Show child attributes
      • columnstring
      • valuestring
    • structAsVariantboolean | null
    • truncateExceededValuesboolean | null
    • turboLatencyThresholdMinutesinteger | null
    • turboRowThresholdinteger | null
    • turboWarehousestring | null
    • useBQBatchPriorityboolean | null
    • useBigNumericForVariableNumericboolean | null
    • useDoubleForVariableNumericboolean | null
    • useNewStringMethodboolean | null
    • useSnowpipeStreamingboolean | null
    • writeRawBinaryValuesboolean | null
  • destinationobject
    Show child attributes
    • dataPlaneNamestring
    • defaultDatabasestring | null
    • draftPipelineUUIDstring<uuid> | null

      On create only: the draft pipeline this connector is for.

    • environmentUUIDstring<uuid> | null
    • labelstring
    • privateLinkUUIDstring<uuid> | null
    • sharedConfigobject | null
    • snapshotPrivateLinkUUIDstring<uuid> | null
    • sshTunnelUUIDstring<uuid> | null
    • typestring
    • uuidstring
  • destinationUUIDstring<uuid> | null
  • pipelineUUIDstring<uuid> | null
  • sourceReaderUUIDstring<uuid> | null
  • sourceTypestring | null
  • specificCfgobjectrequired
    Show child attributes
    • bucketNamestring
    • checkpointIntervalinteger
    • compactionobject
      Show child attributes
      • enabledboolean
      • everySecondsinteger
      • quietWindowobject
        Show child attributes
        • endstring
        • startstring
    • containerNamestring
    • databasestring
    • dynamicallyCreateNamespacesboolean
    • externalStageNamestring
    • externalStageS3Bucketstring
    • externalStageS3Prefixstring
    • folderNamestring
    • icebergFormatVersionstring

      Available options: v2, v3

    • schemastring
    • schemaNamePrefixstring
    • tableNameSeparatorstring
    • useSameSchemaAsSourceboolean
  • tablesobject[] | null
    Show child attributes
    • advancedSettingsobject
      Show child attributes
      • aliasstring
      • backfillFromDatabasesstring[] | null
      • backfillFromSchemasstring[] | null
      • bigQueryPartitionSettingsobject
        Show child attributes
        • partitionBystring
        • partitionFieldstring
        • partitionTypestring
      • bufferRowsinteger
      • columnsToCompressstring[]
      • columnsToEncryptstring[]
      • columnsToHashstring[]
      • columnsToTrimstring[]
      • ctidSettingsobject
        Show child attributes
        • chunkSizeinteger

          Range x ≥ 0

        • enabledboolean
        • maxParallelisminteger

          Range x ≥ 0

        • physicalRangesobject
          Show child attributes
          • enabledboolean
          • pagesPerRangeinteger

            Range x ≥ 0

      • encryptJSONBColumnsboolean
      • endingPrimaryKeystring
      • excludeColumnsstring[]
      • flattenDocumentsboolean
      • flattenDocumentsMaxDepthinteger

        Range x ≥ 0

      • flushIntervalSecondsinteger
      • flushSizeKbinteger
      • historyTableBackfillFromSchemasstring[] | null
      • includeColumnsstring[]
      • k8sRequestCPUinteger

        Range x ≥ 0

      • k8sRequestMemoryMBinteger

        Range x ≥ 0

      • keepOldSwapTableboolean
      • mergePredicatesobject[]
        Show child attributes
        • partitionBystring
        • partitionFieldstring
        • partitionTypestring
      • msmFlushCountinteger

        Range x ≥ 0

      • partitionRangeSettingsobject
        Show child attributes
        • enabledboolean
        • rangeobject
          Show child attributes
          • batchSizeinteger

            Range x ≥ 0

          • chunksSizeinteger

            Range x ≥ 0

          • enabledboolean
          • maxParallelisminteger

            Range x ≥ 0

      • previousSwapTableSuffixstring
      • primaryKeysOverridestring[] | null
      • rangeSettingsobject
        Show child attributes
        • batchSizeinteger

          Range x ≥ 0

        • chunksSizeinteger

          Range x ≥ 0

        • enabledboolean
        • maxParallelisminteger

          Range x ≥ 0

      • shouldBackfillHistoryTableboolean | null
      • skipBackfillboolean
      • skipDeleteboolean
      • skipNoOpUpdatesboolean
      • softPartitioningobject
        Show child attributes
        • enabledboolean
        • maxPartitionsinteger
        • partitionColumnstring
        • partitionFrequencystring
        • partitionSchemastring
      • startingPrimaryKeystring
      • streamARNstring
      • swapTableSuffixstring
      • unifyAcrossDatabasesboolean
      • unifyAcrossSchemasboolean
    • backfillStagesobject[]
      Show child attributes
      • errorstring
      • rowsWritteninteger<int64>
      • stagestringrequired

        Available options: queued, snapshotting, copying, merging, done, failed, cancelled

      • timestampstring<date-time>required
    • createdAtstring<date-time>
    • destinationTableNamestring
    • disableReplicationbooleandeprecated
    • enableHistoryModeboolean
    • historyBackfillStagesobject[]
      Show child attributes
      • errorstring
      • rowsWritteninteger<int64>
      • stagestringrequired

        Available options: queued, snapshotting, copying, merging, done, failed, cancelled

      • timestampstring<date-time>required
    • historyTableStatusstring
    • individualDeploymentboolean
    • namestring
    • schemastring
    • statusstring
    • updatedAtstring<date-time>
    • uuidstring<uuid>

Responses

200OKapplication/json

  • errorstring

204No Content

400Bad Request

500Internal Server Error

200 OK
{
  "error": "<string>"
}

Was this page helpful?