Bulk Sync

Get Bulk Destination

Changed on

Describes the destination configuration schema a connection accepts when used as a bulk sync destination.

Use configuration to discover the fields accepted by destination_configuration when you create or update a Bulk Sync. Required fields vary by Connection type. Use modes to choose a mode supported by this destination.

Suggested initial configuration

Supply source_connection_id to request suggested values for a new Bulk Sync. For example, Snowflake suggests an output schema based on the source Connection name. You must be able to read both Connections, and they must belong to the same Organization.

When the destination generates suggestions, initial_configuration contains values using the same field names as destination_configuration. Use these values as a starting point, preserving any explicit choices. This request does not change a Connection or an existing Bulk Sync. Omit source_connection_id to retrieve metadata without contextual suggestions.

ℹ️ Configuration field metadata is reusable for the destination Connection. Initial values depend on the source and destination Connections. Fetch them for each new source/destination pair rather than caching them by Connection type. Do not apply them over an existing configuration.

get/api/connections/{id}/bulksync/target

Request

  • Base URL
    https://app.polytomic.com
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

idstring uuid required

Connection ID

Example:248df4b7-aa70-47b8-a036-33ac447e668d

Query parameters

source_connection_idstring uuid nullable

Source Connection ID used to suggest initial destination configuration values

Example:248df4b7-aa70-47b8-a036-33ac447e668d

Headers

X-Polytomic-Versionstring

Response

OK

Example response

{
  "data": {
    "configuration": {
      "advanced": {
        "items": {
          "truncate_existing": {
            "default": "",
            "items": null,
            "required": false
          }
        }
      },
      "mirror_schemas": {
        "default": "",
        "items": null,
        "required": false
      },
      "schema": {
        "default": "",
        "items": null,
        "required": false
      }
    },
    "modes": [
      {
        "description": "Replace all records",
        "label": "Replace"
      }
    ]
  }
}

Changes

    • info

      added the new optional query request parameter source_connection_id

    • info

      added the optional property // to the response with the status

    • info

      response property data/allOf[subschema #1: BulkSyncDest]/modes/items/requires_identity deprecated

    • info

      response property data/allOf[subschema #1: BulkSyncDest]/modes/items/supports_field_sync_mode deprecated

    • info

      response property data/allOf[subschema #1: BulkSyncDest]/modes/items/supports_target_filters deprecated