latestOpenAPI 3.0.02026-08-137192110.1 KB

75294f591cc2

ELT Syncs

Add source streams to ELT sync

Add source streams to the given ELT sync and return the newly created streams. This method will only add new streams and update existing streams

post/elt_syncs/{id}/source_streams

Path parameters

idstring required
Example:X4ughggABSd3UY

The ID of the ELT sync.

Request body

Example request

{
  "source_streams": [
    {
      "excluded_substreams": [
        "substream1",
        "substream2"
      ]
    }
  ]
}

Response

The source streams have been successfully added.

Example response

{
  "source_streams": [
    {
      "id": "SCTVdLAcyDTgNx",
      "elt_sync_id": "3LIw2FdxoByya9",
      "name": "users",
      "incremental_primary_key_name": [
        "id"
      ],
      "incremental_pointer_id": "updated_at",
      "created_at": "2020-01-01T00:00:00.000Z",
      "updated_at": "2020-01-01T00:00:00.000Z",
      "excluded_substreams": [
        "substream1",
        "substream2"
      ],
      "sync_interval": "0 0 * * *"
    }
  ]
}