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

Pipelines

Update pipeline status

POST/pipelines/{uuid}/status

Changes the status of a pipeline (e.g. running, paused). Validates the pipeline before resuming and deploys the configuration change. Pausing a pipeline pauses its source reader, unless the source reader is shared and another pipeline still reads from it; resuming a pipeline resumes its source reader.

Authorizations

  • Authorizationstringheaderrequired

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

Request

curl --request POST \
  --url https://api.artie.com/pipelines/{uuid}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "draft"
}'

Path parameters

  • uuidstringrequired

Body

application/json

  • statusstringrequired

    running (Active in the dashboard) resumes source reading and delivery. transfer paused (Delivery paused) stops writing to the destination while the source reader keeps reading. Changes are kept for the Kafka topic's retention, 14 days by default. paused (Paused) pauses source reading and delivery, unless the source reader is shared and another pipeline still reads from it.

    Available options: draft, paused, transfer paused, running

Responses

200OKapplication/json

  • pipelineobjectrequired
    Show child attributes
    • advancedSettingsobjectrequired
      Show child attributes
      • appendOnlyboolean
      • autoEnableHistoryForNewTablesboolean
      • autoEnableHistoryIgnoreRegexstring
      • autoEnableHistoryIncludeRegexstring
      • autoReplicateIgnoreRegexstring
      • autoReplicateIncludeRegexstring
      • autoReplicateNewTablesboolean
      • backfillMySQLFloatsAsShortestDecimalboolean
      • bigQueryReservationstring
      • bufferRowsinteger
      • castAllColumnsToStringboolean
      • databricksAutoLiquidClusteringboolean
      • databricksDisableVariantShreddingboolean
      • defaultSourceSchemastring
      • disableAlertsboolean
      • dropDeletedColumnsboolean
      • dynamoDBBackfillConfigobject
        Show child attributes
        • bucketstring
        • enabledboolean
        • exportArnstring
        • maxParallelisminteger
        • optionalFolderstring
      • enableSoftDeleteboolean
      • flushIntervalSecondsinteger
      • flushSizeKbinteger
      • forceUTCTimezoneboolean
      • includeArtieOperationColumnboolean
      • includeArtieUpdatedAtColumnboolean
      • includeDatabaseUpdatedAtColumnboolean
      • includeFullSourceTableNameColumnboolean
      • includeFullSourceTableNameColumnAsPrimaryKeyboolean
      • includeSourceMetadataColumnboolean
      • jsonAsVarcharboolean
      • jsonParseTruncateStringsboolean
      • maxConcurrentSnapshotsinteger
      • nullOutInvalidValuesboolean
      • postgresPartitionMirroringboolean
      • reuseStagingTableboolean
      • snowpipeStreamingMaxChannelsinteger
      • splitEventsByTypeboolean
      • stagingSchemastring
      • staticColumnsobject[] | null
        Show child attributes
        • columnstring
        • valuestring
      • structAsVariantboolean
      • truncateExceededValuesboolean
      • turboLatencyThresholdMinutesinteger
      • turboRowThresholdinteger
      • turboWarehousestring
      • useBQBatchPriorityboolean
      • useBigNumericForVariableNumericboolean
      • useDoubleForVariableNumericboolean
      • useNewStringMethodboolean | null
      • useSnowpipeStreamingboolean
      • writeRawBinaryValuesboolean
    • backfillStagesobject[]
      Show child attributes
      • errorstring
      • rowsWritteninteger<int64>
      • stagestringrequired

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

      • timestampstring<date-time>required
    • columnHashingSaltUUIDstring<uuid> | null
    • companyUUIDstring<uuid>required
    • createdAtstring<date-time>required
    • dataPlaneNamestringrequired
    • destinationUUIDstring<uuid> | null
    • encryptionKeyUUIDstring<uuid> | null
    • environmentUUIDstring<uuid>required
    • forceFlushUntilstring<date-time> | null
    • hasBackfillingTablesboolean
    • hasUndeployedChangesbooleanrequired
    • historyBackfillStagesobject[]
      Show child attributes
      • errorstring
      • rowsWritteninteger<int64>
      • stagestringrequired

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

      • timestampstring<date-time>required
    • icebergNativeEngineboolean
    • isDeployingbooleanrequired
    • lastDeployErrorstring
    • lastDeployFailedAtstring<date-time> | null
    • lastDeployedAtstring<date-time> | null
    • lastUpdatedAtstring<date-time>required
    • namestringrequired
    • snowflakeEcoScheduleUUIDstring<uuid> | null
    • sourceReaderUUIDstring<uuid>
    • sourceTypestringrequired

      Available options: 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

    • specificDestCfgobjectrequired
      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
    • statusstring

      Available options: draft, paused, transfer paused, running

    • tablesobject[]required
      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
          • enabledboolean
          • maxParallelisminteger
          • physicalRangesobject
            Show child attributes
            • enabledboolean
            • pagesPerRangeinteger
        • encryptJSONBColumnsboolean
        • endingPrimaryKeystring
        • excludeColumnsstring[]
        • flattenDocumentsboolean
        • flattenDocumentsMaxDepthinteger
        • flushIntervalSecondsinteger
        • flushSizeKbinteger
        • historyTableBackfillFromSchemasstring[] | null
        • includeColumnsstring[]
        • k8sRequestCPUinteger
        • k8sRequestMemoryMBinteger
        • keepOldSwapTableboolean
        • mergePredicatesobject[]
          Show child attributes
          • partitionBystring
          • partitionFieldstring
          • partitionTypestring
        • msmFlushCountinteger
        • partitionRangeSettingsobject
          Show child attributes
          • enabledboolean
          • rangeobject
            Show child attributes
            • batchSizeinteger
            • chunksSizeinteger
            • enabledboolean
            • maxParallelisminteger
        • previousSwapTableSuffixstring
        • primaryKeysOverridestring[] | null
        • rangeSettingsobject
          Show child attributes
          • batchSizeinteger
          • chunksSizeinteger
          • enabledboolean
          • maxParallelisminteger
        • 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>
    • uuidstring<uuid>required

400Bad Request

403Forbidden

409Conflict

500Internal Server Error

200 OK
{
  "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"
  }
}

Was this page helpful?