Use Fivetran to manage connections and monitor data syncs.
List, read, create, update, pause, resume, or delete connections; inspect connector setup fields; and generate Connect Card links for source owners.
Start syncs, re-sync connections or selected tables, run setup tests, reload schemas, and change which schemas and tables are synced.
Read sync history, per-stage data volumes, warnings, schema configuration, and connection states.
Create or inspect groups and destinations, test destinations, and list, run, or cancel transformations.
Read account details, users, service accounts, and supported connector types.
In Fivetran, open your user menu and choose API Key → Generate API key . Under the block's Fivetran Account field, choose Add API key and enter the key and secret. Sim validates them, stores them encrypted as a reusable credential, and populates the Connection, Group, and Destination pickers. The key acts with its owner's Fivetran permissions.
Triggers take the API key and secret directly. When you deploy the workflow, Sim registers an account-level or group-level webhook and generates its signing secret. Sim verifies incoming deliveries against that secret. Remove the trigger and redeploy to delete its webhook.
Triggers cover sync start/end, connection success/failure/change, table re-sync, and transformation start/success/failure events.
List, create, update, pause, resume, and delete connections, trigger syncs and historical re-syncs, read sync history, warnings, and schema configs, enable or disable schemas and tables, run setup tests, generate Connect Card links, look up connector setup fields, create and inspect groups and destinations, run and cancel transformations, review users, and react to sync, connection, and transformation webhooks.
List Fivetran connections with their sync state, schedule, and last success or failure, optionally filtered by group or schema name.
Inputs and outputsParameter Type Required Description groupIdstring No Only return connections in this group schemastring No Only return the connection with this exact schema name cursorstring No Paging cursor from the nextCursor of a previous page limitnumber No Number of records per page, from 1 to 1000 (default 100)
Parameter Type Description connectionsarray Connections ↳ id string Connection ID ↳ groupId string Destination group ID ↳ service string Connector type, e.g. okta ↳ serviceVersion number Connector type version ↳ schema string Connection name, also the destination schema name ↳ paused boolean Whether the connection is paused ↳ pauseAfterTrial boolean Whether the connection pauses when the free trial ends ↳ connectedBy string ID of the user who created the connection ↳ createdAt string When the connection was created ↳ succeededAt string Last successful sync time ↳ failedAt string Last failed sync time ↳ syncFrequency number Sync frequency in minutes ↳ scheduleType string Scheduling mode (auto or manual) ↳ dailySyncTime string Daily sync start time (HH:MM) for 24-hour frequency ↳ dataDelaySensitivity string Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC_FREQUENCY) ↳ dataDelayThreshold number Custom data delay threshold in minutes ↳ networkingMethod string Networking method, e.g. Directly or SshTunnel ↳ privateLinkId string Private link ID ↳ proxyAgentId string Proxy agent ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ dataChecks boolean Whether automated data validation is enabled ↳ destinationSchemaNames string Destination schema naming (FIVETRAN_NAMING or SOURCE_NAMING) ↳ status object Current connection state ↳ setupState string Setup state (incomplete, connected, broken) ↳ syncState string Sync state (scheduled, syncing, paused, rescheduled) ↳ updateState string Data update state (on_schedule, delayed) ↳ isHistoricalSync boolean Whether a historical re-sync is pending or running ↳ schemaStatus string Schema status ↳ rescheduledFor string Next sync attempt when the sync is rescheduled ↳ tasks array Tasks that need action ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ warnings array Active warnings ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ schedule object Sync schedule configuration ↳ scheduleType string Schedule type (TIME_OF_DAY, INTERVAL, CRON, MANUAL) ↳ interval number Interval in minutes ↳ cron string Cron expression ↳ daysOfWeek array Days the connection can sync ↳ timeOfDay string Time of day (HH:MM) ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details ↳ config json Connector-specific setup configuration nextCursorstring Cursor for the next page; null on the last page
Get a Fivetran connection, including its setup, sync, and update state, open tasks and warnings, and schedule.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection
Parameter Type Description connectionobject The connection ↳ id string Connection ID ↳ groupId string Destination group ID ↳ service string Connector type, e.g. okta ↳ serviceVersion number Connector type version ↳ schema string Connection name, also the destination schema name ↳ paused boolean Whether the connection is paused ↳ pauseAfterTrial boolean Whether the connection pauses when the free trial ends ↳ connectedBy string ID of the user who created the connection ↳ createdAt string When the connection was created ↳ succeededAt string Last successful sync time ↳ failedAt string Last failed sync time ↳ syncFrequency number Sync frequency in minutes ↳ scheduleType string Scheduling mode (auto or manual) ↳ dailySyncTime string Daily sync start time (HH:MM) for 24-hour frequency ↳ dataDelaySensitivity string Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC_FREQUENCY) ↳ dataDelayThreshold number Custom data delay threshold in minutes ↳ networkingMethod string Networking method, e.g. Directly or SshTunnel ↳ privateLinkId string Private link ID ↳ proxyAgentId string Proxy agent ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ dataChecks boolean Whether automated data validation is enabled ↳ destinationSchemaNames string Destination schema naming (FIVETRAN_NAMING or SOURCE_NAMING) ↳ status object Current connection state ↳ setupState string Setup state (incomplete, connected, broken) ↳ syncState string Sync state (scheduled, syncing, paused, rescheduled) ↳ updateState string Data update state (on_schedule, delayed) ↳ isHistoricalSync boolean Whether a historical re-sync is pending or running ↳ schemaStatus string Schema status ↳ rescheduledFor string Next sync attempt when the sync is rescheduled ↳ tasks array Tasks that need action ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ warnings array Active warnings ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ schedule object Sync schedule configuration ↳ scheduleType string Schedule type (TIME_OF_DAY, INTERVAL, CRON, MANUAL) ↳ interval number Interval in minutes ↳ cron string Cron expression ↳ daysOfWeek array Days the connection can sync ↳ timeOfDay string Time of day (HH:MM) ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details ↳ config json Connector-specific setup configuration
Create a Fivetran connection in a group. The config object holds the connector-specific settings and the destination naming: schema for most connectors, schema_prefix for databases, or schema and table for file connectors.
Inputs and outputsParameter Type Required Description groupIdstring Yes ID of the destination group to create the connection in servicestring Yes Connector type ID, e.g. okta or google_sheets (see List Connector Types) configjson Yes Connector-specific setup configuration, including the destination name: schema (most connectors), schema_prefix (databases), or schema and table (file connectors), e.g. {"schema": "okta", "domain": "acme", "api_token": "..."} authjson No Connector-specific authorization settings, for connectors that take them pausedboolean No Create the connection paused syncFrequencynumber No Sync frequency in minutes (1, 5, 15, 30, 60, 120, 180, 360, 480, 720, or 1440) scheduleTypestring No auto lets Fivetran schedule syncs; manual runs syncs only on request dailySyncTimestring No Daily sync start time (HH:MM) when the sync frequency is 1440 dataDelaySensitivitystring No Data delay notification level: LOW, NORMAL, HIGH, CUSTOM, or SYNC_FREQUENCY dataDelayThresholdnumber No Custom data delay threshold in minutes, used with CUSTOM sensitivity destinationSchemaNamesstring No Destination schema naming: FIVETRAN_NAMING or SOURCE_NAMING pauseAfterTrialboolean No Pause the connection when its free trial ends runSetupTestsboolean No Run the setup tests after creating the connection trustCertificatesboolean No Automatically trust the source certificate during setup tests (default false) trustFingerprintsboolean No Automatically trust the SSH fingerprint during setup tests (default false)
Parameter Type Description connectionobject The created connection, with setup test results when they ran ↳ id string Connection ID ↳ groupId string Destination group ID ↳ service string Connector type, e.g. okta ↳ serviceVersion number Connector type version ↳ schema string Connection name, also the destination schema name ↳ paused boolean Whether the connection is paused ↳ pauseAfterTrial boolean Whether the connection pauses when the free trial ends ↳ connectedBy string ID of the user who created the connection ↳ createdAt string When the connection was created ↳ succeededAt string Last successful sync time ↳ failedAt string Last failed sync time ↳ syncFrequency number Sync frequency in minutes ↳ scheduleType string Scheduling mode (auto or manual) ↳ dailySyncTime string Daily sync start time (HH:MM) for 24-hour frequency ↳ dataDelaySensitivity string Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC_FREQUENCY) ↳ dataDelayThreshold number Custom data delay threshold in minutes ↳ networkingMethod string Networking method, e.g. Directly or SshTunnel ↳ privateLinkId string Private link ID ↳ proxyAgentId string Proxy agent ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ dataChecks boolean Whether automated data validation is enabled ↳ destinationSchemaNames string Destination schema naming (FIVETRAN_NAMING or SOURCE_NAMING) ↳ status object Current connection state ↳ setupState string Setup state (incomplete, connected, broken) ↳ syncState string Sync state (scheduled, syncing, paused, rescheduled) ↳ updateState string Data update state (on_schedule, delayed) ↳ isHistoricalSync boolean Whether a historical re-sync is pending or running ↳ schemaStatus string Schema status ↳ rescheduledFor string Next sync attempt when the sync is rescheduled ↳ tasks array Tasks that need action ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ warnings array Active warnings ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ schedule object Sync schedule configuration ↳ scheduleType string Schedule type (TIME_OF_DAY, INTERVAL, CRON, MANUAL) ↳ interval number Interval in minutes ↳ cron string Cron expression ↳ daysOfWeek array Days the connection can sync ↳ timeOfDay string Time of day (HH:MM) ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details ↳ config json Connector-specific setup configuration
Update a Fivetran connection: pause or resume it, change its sync frequency or schedule, or update its configuration.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection pausedboolean No true pauses the connection, false resumes it syncFrequencynumber No Sync frequency in minutes (1, 5, 15, 30, 60, 120, 180, 360, 480, 720, or 1440) scheduleTypestring No auto lets Fivetran schedule syncs; manual runs syncs only on request dailySyncTimestring No Daily sync start time (HH:MM) when the sync frequency is 1440 dataDelaySensitivitystring No Data delay notification level: LOW, NORMAL, HIGH, CUSTOM, or SYNC_FREQUENCY dataDelayThresholdnumber No Custom data delay threshold in minutes, used with CUSTOM sensitivity pauseAfterTrialboolean No Pause the connection when its free trial ends isHistoricalSyncboolean No true triggers a re-sync of all historical data configjson No Connector-specific configuration fields to change authjson No Connector-specific authorization settings to change runSetupTestsboolean No Run the setup tests after the update trustCertificatesboolean No Automatically trust the source certificate during setup tests (default false) trustFingerprintsboolean No Automatically trust the SSH fingerprint during setup tests (default false)
Parameter Type Description connectionobject The updated connection ↳ id string Connection ID ↳ groupId string Destination group ID ↳ service string Connector type, e.g. okta ↳ serviceVersion number Connector type version ↳ schema string Connection name, also the destination schema name ↳ paused boolean Whether the connection is paused ↳ pauseAfterTrial boolean Whether the connection pauses when the free trial ends ↳ connectedBy string ID of the user who created the connection ↳ createdAt string When the connection was created ↳ succeededAt string Last successful sync time ↳ failedAt string Last failed sync time ↳ syncFrequency number Sync frequency in minutes ↳ scheduleType string Scheduling mode (auto or manual) ↳ dailySyncTime string Daily sync start time (HH:MM) for 24-hour frequency ↳ dataDelaySensitivity string Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC_FREQUENCY) ↳ dataDelayThreshold number Custom data delay threshold in minutes ↳ networkingMethod string Networking method, e.g. Directly or SshTunnel ↳ privateLinkId string Private link ID ↳ proxyAgentId string Proxy agent ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ dataChecks boolean Whether automated data validation is enabled ↳ destinationSchemaNames string Destination schema naming (FIVETRAN_NAMING or SOURCE_NAMING) ↳ status object Current connection state ↳ setupState string Setup state (incomplete, connected, broken) ↳ syncState string Sync state (scheduled, syncing, paused, rescheduled) ↳ updateState string Data update state (on_schedule, delayed) ↳ isHistoricalSync boolean Whether a historical re-sync is pending or running ↳ schemaStatus string Schema status ↳ rescheduledFor string Next sync attempt when the sync is rescheduled ↳ tasks array Tasks that need action ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ warnings array Active warnings ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ schedule object Sync schedule configuration ↳ scheduleType string Schedule type (TIME_OF_DAY, INTERVAL, CRON, MANUAL) ↳ interval number Interval in minutes ↳ cron string Cron expression ↳ daysOfWeek array Days the connection can sync ↳ timeOfDay string Time of day (HH:MM) ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details ↳ config json Connector-specific setup configuration
Delete a Fivetran connection. This cannot be undone.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection
Parameter Type Description codestring Fivetran response code, e.g. Success messagestring Fivetran response message
Start an incremental sync of a Fivetran connection now, without changing its schedule.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection forceboolean No Stop a sync that is already running and start again. By default a running sync is left alone.
Parameter Type Description resultstring Sync start result (STARTED, PAUSED, INCOMPLETE, ALREADY_RUNNING, NOT_STARTED) messagestring Fivetran response message
Run a full historical re-sync of a Fivetran connection, or only of the tables listed in scope. Fivetran returns 409 if a running sync cannot finish first.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection scopejson No Tables to re-sync, as a map of schema name to table names, e.g. {"public": ["users", "orders"]}. Omit to re-sync every table.
Parameter Type Description codestring Fivetran response code, e.g. Success messagestring Fivetran response message
Run a historical re-sync of specific tables in a Fivetran connection without changing its schedule.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection tablesjson Yes Tables to re-sync, as a map of schema name to table names, e.g. {"okta": ["system_log", "user"]}
Parameter Type Description codestring Fivetran response code, e.g. Success messagestring Fivetran response message
Run the setup tests of a Fivetran connection without changing its configuration, and return each test result.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection trustCertificatesboolean No Automatically trust the source certificate during setup tests (default false) trustFingerprintsboolean No Automatically trust the SSH fingerprint during setup tests (default false)
Parameter Type Description connectionobject The connection with its setup test results in setupTests ↳ id string Connection ID ↳ groupId string Destination group ID ↳ service string Connector type, e.g. okta ↳ serviceVersion number Connector type version ↳ schema string Connection name, also the destination schema name ↳ paused boolean Whether the connection is paused ↳ pauseAfterTrial boolean Whether the connection pauses when the free trial ends ↳ connectedBy string ID of the user who created the connection ↳ createdAt string When the connection was created ↳ succeededAt string Last successful sync time ↳ failedAt string Last failed sync time ↳ syncFrequency number Sync frequency in minutes ↳ scheduleType string Scheduling mode (auto or manual) ↳ dailySyncTime string Daily sync start time (HH:MM) for 24-hour frequency ↳ dataDelaySensitivity string Data delay notification level (LOW, NORMAL, HIGH, CUSTOM, SYNC_FREQUENCY) ↳ dataDelayThreshold number Custom data delay threshold in minutes ↳ networkingMethod string Networking method, e.g. Directly or SshTunnel ↳ privateLinkId string Private link ID ↳ proxyAgentId string Proxy agent ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ dataChecks boolean Whether automated data validation is enabled ↳ destinationSchemaNames string Destination schema naming (FIVETRAN_NAMING or SOURCE_NAMING) ↳ status object Current connection state ↳ setupState string Setup state (incomplete, connected, broken) ↳ syncState string Sync state (scheduled, syncing, paused, rescheduled) ↳ updateState string Data update state (on_schedule, delayed) ↳ isHistoricalSync boolean Whether a historical re-sync is pending or running ↳ schemaStatus string Schema status ↳ rescheduledFor string Next sync attempt when the sync is rescheduled ↳ tasks array Tasks that need action ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ warnings array Active warnings ↳ code string Machine-readable condition code ↳ message string Human-readable label ↳ details string Additional context ↳ schedule object Sync schedule configuration ↳ scheduleType string Schedule type (TIME_OF_DAY, INTERVAL, CRON, MANUAL) ↳ interval number Interval in minutes ↳ cron string Cron expression ↳ daysOfWeek array Days the connection can sync ↳ timeOfDay string Time of day (HH:MM) ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details ↳ config json Connector-specific setup configuration
List the recent syncs of a Fivetran connection with their outcome, failure reason, and data volume per stage. The time window is at most 7 days and defaults to the last hour.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection startTimestring No Start of the time window, ISO 8601 (e.g. 2026-01-01T00:00:00Z) endTimestring No End of the time window, ISO 8601 (e.g. 2026-01-01T01:00:00Z) cursorstring No Paging cursor from the nextCursor of a previous page limitnumber No Number of records per page, from 1 to 1000 (default 100)
Parameter Type Description syncsarray Syncs in the time window ↳ syncId string Sync ID ↳ status string Outcome (COMPLETED, FAILURE, CANCELED, INCOMPLETE, RESCHEDULED, PAUSED) ↳ start string When the sync started ↳ end string When the sync finished ↳ reason string Failure reason ↳ extractVolumeMb number Data extracted from the source, in MB ↳ processVolumeMb number Data processed, in MB ↳ loadVolumeMb number Data loaded into the destination, in MB nextCursorstring Cursor for the next page; null on the last page
List the active warnings on a Fivetran connection, grouped by destination table.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection
Parameter Type Description warningGroupsarray Warnings grouped by destination table ↳ schema string Destination schema; null when the warning is not table-specific ↳ table string Destination table; null when the warning is not table-specific ↳ warnings array Warnings on the table ↳ code string Warning code ↳ message string Warning label ↳ errorMessage string Additional error details ↳ createdAt string When the warning was raised
Get the schemas, tables, and columns a Fivetran connection syncs, and whether each is enabled.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection
Parameter Type Description schemasjson Schemas keyed by source schema name, each with name_in_destination, enabled, and tables keyed by table name (name_in_destination, enabled, sync_mode, columns) enableNewByDefaultboolean Whether new schemas, tables, and columns are enabled by default schemaChangeHandlingstring Schema change handling (ALLOW_ALL, ALLOW_COLUMNS, BLOCK_ALL) rowFilteringSupportedboolean Whether row filtering is available for the connection
Reload the schema config of a Fivetran connection from its source to pick up new schemas, tables, and columns. Large sources can take a long time.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection excludeModestring No PRESERVE (default) keeps the enabled state of every schema and table; EXCLUDE sets schemas and tables as disabled when the config is reloaded
Parameter Type Description schemasjson Schemas keyed by source schema name, each with name_in_destination, enabled, and tables keyed by table name (name_in_destination, enabled, sync_mode, columns) enableNewByDefaultboolean Whether new schemas, tables, and columns are enabled by default schemaChangeHandlingstring Schema change handling (ALLOW_ALL, ALLOW_COLUMNS, BLOCK_ALL) rowFilteringSupportedboolean Whether row filtering is available for the connection
Enable or disable syncing of one table in a Fivetran connection, and optionally change its sync mode.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection schemaNamestring Yes Schema name as stored in the connection schema config (case-sensitive) tableNamestring Yes Table name as stored in the connection schema config (case-sensitive) enabledboolean Yes Whether the table syncs to the destination syncModestring No Sync mode: SOFT_DELETE, HISTORY, or LIVE (only for connectors that support switching)
Parameter Type Description schemasjson Schemas keyed by source schema name, each with name_in_destination, enabled, and tables keyed by table name (name_in_destination, enabled, sync_mode, columns) enableNewByDefaultboolean Whether new schemas, tables, and columns are enabled by default schemaChangeHandlingstring Schema change handling (ALLOW_ALL, ALLOW_COLUMNS, BLOCK_ALL) rowFilteringSupportedboolean Whether row filtering is available for the connection
Generate a Connect Card link that lets someone authorize and finish setting up a Fivetran connection in a Fivetran-hosted form.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection redirectUristring Yes HTTPS URL to send the user to after they finish setup hideSetupGuideboolean No Hide the embedded setup guide allFieldsboolean No Show fields that are hidden by default
Parameter Type Description connectionIdstring Connection ID uristring Connect Card URL to send the user to; it embeds a short-lived token tokenstring Short-lived Connect Card token redirectUristring Where the user is sent after setup
List the groups in the Fivetran account. Each group pairs with one destination, so the group ID is also the destination ID.
Inputs and outputsParameter Type Required Description cursorstring No Paging cursor from the nextCursor of a previous page limitnumber No Number of records per page, from 1 to 1000 (default 100)
Parameter Type Description groupsarray Groups in the account ↳ id string Group ID ↳ name string Group name ↳ createdAt string When the group was created nextCursorstring Cursor for the next page; null on the last page
Get a Fivetran group by ID.
Inputs and outputsParameter Type Required Description groupIdstring Yes ID of the group
Parameter Type Description groupobject The group ↳ id string Group ID ↳ name string Group name ↳ createdAt string When the group was created
List the destinations in the Fivetran account, such as Databricks or Snowflake, with their region and setup status.
Inputs and outputsParameter Type Required Description cursorstring No Paging cursor from the nextCursor of a previous page limitnumber No Number of records per page, from 1 to 1000 (default 100)
Parameter Type Description destinationsarray Destinations ↳ id string Destination ID ↳ groupId string Group ID ↳ service string Destination type, e.g. databricks ↳ region string Data processing region ↳ timeZoneOffset string UTC offset used for sync scheduling ↳ setupStatus string Setup status (INCOMPLETE, CONNECTED, BROKEN) ↳ daylightSavingTimeEnabled boolean Whether the offset shifts with daylight saving time ↳ networkingMethod string Networking method ↳ privateLinkId string Private link ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ proxyAgentId string Proxy agent ID ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details nextCursorstring Cursor for the next page; null on the last page
Get a Fivetran destination with its region, time zone, and setup status.
Inputs and outputsParameter Type Required Description destinationIdstring Yes ID of the destination (the same as its group ID)
Parameter Type Description destinationobject The destination ↳ id string Destination ID ↳ groupId string Group ID ↳ service string Destination type, e.g. databricks ↳ region string Data processing region ↳ timeZoneOffset string UTC offset used for sync scheduling ↳ setupStatus string Setup status (INCOMPLETE, CONNECTED, BROKEN) ↳ daylightSavingTimeEnabled boolean Whether the offset shifts with daylight saving time ↳ networkingMethod string Networking method ↳ privateLinkId string Private link ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ proxyAgentId string Proxy agent ID ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details
Run the setup tests of a Fivetran destination, such as a Databricks workspace, and return each test result.
Inputs and outputsParameter Type Required Description destinationIdstring Yes ID of the destination (the same as its group ID) trustCertificatesboolean No Automatically trust the source certificate during setup tests (default false) trustFingerprintsboolean No Automatically trust the SSH fingerprint during setup tests (default false)
Parameter Type Description destinationobject The destination with its setup test results in setupTests ↳ id string Destination ID ↳ groupId string Group ID ↳ service string Destination type, e.g. databricks ↳ region string Data processing region ↳ timeZoneOffset string UTC offset used for sync scheduling ↳ setupStatus string Setup status (INCOMPLETE, CONNECTED, BROKEN) ↳ daylightSavingTimeEnabled boolean Whether the offset shifts with daylight saving time ↳ networkingMethod string Networking method ↳ privateLinkId string Private link ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ proxyAgentId string Proxy agent ID ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details
List Fivetran transformations (dbt Core and Quickstart) with their status, schedule, and last run times.
Inputs and outputsParameter Type Required Description groupIdstring No Only return transformations in this group projectIdstring No Only return transformations in this dbt project transformationTypestring No Only return this type: DBT_CORE or QUICKSTART cursorstring No Paging cursor from the nextCursor of a previous page limitnumber No Number of records per page, from 1 to 1000 (default 100)
Parameter Type Description transformationsarray Transformations ↳ id string Transformation ID ↳ type string Type (DBT_CORE, QUICKSTART) ↳ status string Status (NEW, SCHEDULING, RUNNING, TERMINATING, SUCCEEDED, FAILED, BLOCKED, CANCELED, PARTIALLY_SUCCEEDED) ↳ paused boolean Whether the transformation is paused ↳ createdAt string When it was created ↳ createdById string ID of the creating user or key ↳ lastStartedAt string Last run start time ↳ lastEndedAt string Last run end time ↳ outputModelNames array Output model names ↳ schedule object Transformation schedule ↳ scheduleType string Schedule type (INTEGRATED, TIME_OF_DAY, INTERVAL, CRON) ↳ interval number Interval in minutes ↳ cron array Cron expressions ↳ daysOfWeek array Days of the week ↳ timeOfDay string Time of day (HH:MM) ↳ connectionIds array Connections an integrated schedule depends on ↳ transformationIds array Transformations used for integrated scheduling ↳ smartSyncing boolean Whether Smart Syncing is enabled nextCursorstring Cursor for the next page; null on the last page
Get a Fivetran transformation with its status, schedule, and output models.
Inputs and outputsParameter Type Required Description transformationIdstring Yes ID of the transformation
Parameter Type Description transformationobject The transformation ↳ id string Transformation ID ↳ type string Type (DBT_CORE, QUICKSTART) ↳ status string Status (NEW, SCHEDULING, RUNNING, TERMINATING, SUCCEEDED, FAILED, BLOCKED, CANCELED, PARTIALLY_SUCCEEDED) ↳ paused boolean Whether the transformation is paused ↳ createdAt string When it was created ↳ createdById string ID of the creating user or key ↳ lastStartedAt string Last run start time ↳ lastEndedAt string Last run end time ↳ outputModelNames array Output model names ↳ schedule object Transformation schedule ↳ scheduleType string Schedule type (INTEGRATED, TIME_OF_DAY, INTERVAL, CRON) ↳ interval number Interval in minutes ↳ cron array Cron expressions ↳ daysOfWeek array Days of the week ↳ timeOfDay string Time of day (HH:MM) ↳ connectionIds array Connections an integrated schedule depends on ↳ transformationIds array Transformations used for integrated scheduling ↳ smartSyncing boolean Whether Smart Syncing is enabled
Start a run of a Fivetran transformation now.
Inputs and outputsParameter Type Required Description transformationIdstring Yes ID of the transformation fullRefreshboolean No Rebuild incremental models from scratch (dbt --full-refresh)
Parameter Type Description codestring Fivetran response code, e.g. Success messagestring Fivetran response message
Cancel a running Fivetran transformation.
Inputs and outputsParameter Type Required Description transformationIdstring Yes ID of the transformation
Parameter Type Description codestring Fivetran response code, e.g. Success messagestring Fivetran response message
Get the Fivetran account and the user or system key that the API key belongs to.
Inputs and outputsParameter Type Required Description
Parameter Type Description accountIdstring Fivetran account ID accountNamestring Account name userIdstring User ID, returned when a user API key is used systemKeyIdstring System key ID, returned when a system key is used
List the users and service accounts in the Fivetran account with their role, status, and last login, for access reviews.
Inputs and outputsParameter Type Required Description activeboolean No true returns only enabled users, false only suspended ones; omit for both userTypestring No Only return this type: REGULAR_USER or SERVICE_ACCOUNT hasApiKeyboolean No Only return users with (true) or without (false) an API key cursorstring No Paging cursor from the nextCursor of a previous page limitnumber No Number of records per page, from 1 to 1000 (default 100)
Parameter Type Description usersarray Users ↳ id string User ID ↳ email string Email address ↳ givenName string First name ↳ familyName string Last name ↳ role string Account role ↳ active boolean Whether the user can log in ↳ verified boolean Whether the email address is verified ↳ invited boolean Whether the user was invited ↳ userType string REGULAR_USER or SERVICE_ACCOUNT ↳ hasApiKey boolean Whether the user has an API key, including expired keys ↳ phone string Phone number ↳ loggedInAt string Last login time ↳ createdAt string When the user was created nextCursorstring Cursor for the next page; null on the last page
List the source connector types available in Fivetran, with the service ID to use when creating a connection.
Inputs and outputsParameter Type Required Description cursorstring No Paging cursor from the nextCursor of a previous page limitnumber No Number of records per page, from 1 to 1000 (default 100)
Parameter Type Description connectorTypesarray Connector types ↳ id string Service ID used when creating a connection ↳ name string Display name ↳ type string Category, e.g. Security or Database ↳ description string What the connector does ↳ connectorClass string Connector class (standard or lite) ↳ serviceStatus string Availability (general_availability, beta, private_preview, sunset, development) ↳ iconUrl string Icon URL ↳ linkToDocs string Documentation URL ↳ linkToErd string ERD URL ↳ supportsSchemaReload boolean Whether schema reload is supported ↳ supportedFeatures array Supported feature IDs, e.g. RE_SYNC or HISTORY nextCursorstring Cursor for the next page; null on the last page
Get the configuration and authorization fields a Fivetran connector type takes, to build the config for Create Connection.
Inputs and outputsParameter Type Required Description servicestring Yes Connector type ID, e.g. okta (see List Connector Types)
Parameter Type Description connectorTypeobject The connector type ↳ id string Service ID used when creating a connection ↳ name string Display name ↳ type string Category, e.g. Security or Database ↳ description string What the connector does ↳ connectorClass string Connector class (standard or lite) ↳ serviceStatus string Availability (general_availability, beta, private_preview, sunset, development) ↳ iconUrl string Icon URL ↳ linkToDocs string Documentation URL ↳ linkToErd string ERD URL ↳ supportsSchemaReload boolean Whether schema reload is supported ↳ supportedFeatures array Supported feature IDs, e.g. RE_SYNC or HISTORY configjson JSON Schema of the configuration fields the connector takes in config authjson JSON Schema of the authorization fields the connector takes in auth, if any
Update how a Fivetran connection handles new schemas, tables, and columns, and enable or disable schemas and tables in one call.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection schemaChangeHandlingstring No How new source objects are handled: ALLOW_ALL (sync new schemas, tables, and columns), ALLOW_COLUMNS (only new columns), or BLOCK_ALL schemasjson No Schemas to change, keyed by schema name, e.g. {"public": {"enabled": true, "tables": {"orders": {"enabled": false}}}}
Parameter Type Description schemasjson Schemas keyed by source schema name, each with name_in_destination, enabled, and tables keyed by table name (name_in_destination, enabled, sync_mode, columns) enableNewByDefaultboolean Whether new schemas, tables, and columns are enabled by default schemaChangeHandlingstring Schema change handling (ALLOW_ALL, ALLOW_COLUMNS, BLOCK_ALL) rowFilteringSupportedboolean Whether row filtering is available for the connection
Enable or disable syncing of one schema in a Fivetran connection, optionally changing several of its tables at once.
Inputs and outputsParameter Type Required Description connectionIdstring Yes ID of the connection schemaNamestring Yes Schema name as stored in the connection schema config (case-sensitive) enabledboolean Yes Whether the schema syncs to the destination tablesjson No Tables to change in this schema, keyed by table name, e.g. {"orders": {"enabled": false}}
Parameter Type Description schemasjson Schemas keyed by source schema name, each with name_in_destination, enabled, and tables keyed by table name (name_in_destination, enabled, sync_mode, columns) enableNewByDefaultboolean Whether new schemas, tables, and columns are enabled by default schemaChangeHandlingstring Schema change handling (ALLOW_ALL, ALLOW_COLUMNS, BLOCK_ALL) rowFilteringSupportedboolean Whether row filtering is available for the connection
Create a Fivetran group. Each group holds one destination, so create the group first, then its destination.
Inputs and outputsParameter Type Required Description namestring Yes Name of the group
Parameter Type Description groupobject The created group ↳ id string Group ID ↳ name string Group name ↳ createdAt string When the group was created
Create the destination for a Fivetran group, such as a Databricks workspace. The config object holds the destination-specific connection settings.
Inputs and outputsParameter Type Required Description groupIdstring Yes ID of the group the destination belongs to (each group has one destination) servicestring Yes Destination type, e.g. databricks, snowflake, or big_query timeZoneOffsetstring Yes UTC offset used for sync scheduling, from -11 to +12, e.g. -5 or 0 regionstring No Data processing region, e.g. AWS_US_EAST_1 or GCP_US_EAST4 configjson No Destination-specific settings, e.g. for Databricks {"server_host_name": "...", "http_path": "...", "catalog": "...", "auth_type": "PERSONAL_ACCESS_TOKEN", "personal_access_token": "..."} daylightSavingTimeEnabledboolean No Shift the UTC offset with daylight saving time (US only) runSetupTestsboolean No Run the setup tests after creating the destination trustCertificatesboolean No Automatically trust the source certificate during setup tests (default false) trustFingerprintsboolean No Automatically trust the SSH fingerprint during setup tests (default false)
Parameter Type Description destinationobject The created destination, with setup test results when they ran ↳ id string Destination ID ↳ groupId string Group ID ↳ service string Destination type, e.g. databricks ↳ region string Data processing region ↳ timeZoneOffset string UTC offset used for sync scheduling ↳ setupStatus string Setup status (INCOMPLETE, CONNECTED, BROKEN) ↳ daylightSavingTimeEnabled boolean Whether the offset shifts with daylight saving time ↳ networkingMethod string Networking method ↳ privateLinkId string Private link ID ↳ hybridDeploymentAgentId string Hybrid deployment agent ID ↳ proxyAgentId string Proxy agent ID ↳ setupTests array Setup test results ↳ title string Setup test step name ↳ status string Result (PASSED, SKIPPED, WARNING, FAILED, JOB_FAILED) ↳ message string Result message ↳ details json Additional diagnostic details
A trigger starts a workflow when a supported event occurs in this service.
Trigger workflow on any Fivetran sync, connection, or transformation event
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination datajson Event-specific payload; its fields depend on the event
Trigger workflow when a connection is created
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID
Trigger workflow when a connection is deleted
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID
Trigger workflow when connection credentials, sync frequency, or other settings change
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID ↳ editType string What was edited, e.g. CREDENTIALS ↳ oldProperties json Connector-specific properties before the edit, with secrets masked
Trigger workflow when Fivetran fails to connect to a source
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID ↳ testName string Name of the setup test ↳ message string Test result message
Trigger workflow when a connection is paused, by a user or automatically
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID ↳ reason string Why the connection was paused automatically
Trigger workflow when a historical re-sync of a connection is triggered
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID
Trigger workflow when a connection is resumed
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID
Trigger workflow when Fivetran connects to a source successfully
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID ↳ testName string Name of the setup test ↳ message string Test result message
Trigger workflow when someone triggers a manual sync of a connection
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID
Trigger workflow when a connection sync finishes, succeeds, fails, or is rescheduled
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ status string Sync status (SUCCESSFUL, FAILURE, FAILURE_WITH_TASK, RESCHEDULED) ↳ sync_type string HISTORICAL or INCREMENTAL ↳ load_volume_b number Bytes loaded into the destination, on successful syncs that report it ↳ reason string Why the sync failed or was rescheduled ↳ taskType string Error type behind a FAILURE_WITH_TASK or RESCHEDULED status, e.g. reconnect ↳ rescheduledAt string When a rescheduled sync resumes ↳ isRoutine boolean Whether a reschedule is routine rather than error-driven
Trigger workflow when a connection starts syncing
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ sync_type string HISTORICAL or INCREMENTAL
Trigger workflow when a historical re-sync of a table is triggered
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID triggerConnectionIdstring No Connection ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ actor string Internal ID of the user who acted, or _fivetran_system for automatic actions ↳ id string Connection ID ↳ schema string Schema name ↳ table string Table name
Trigger workflow when a transformation run fails
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ id string Transformation job ID ↳ name string Transformation job name ↳ startTime string When the run started ↳ transformationType string Job type (DBT_CORE, QUICKSTART, DBT_CLOUD, COALESCE) ↳ schedule json Job schedule (type and entries) ↳ endTime string When the run ended ↳ result json Run result with stepResults (step, success, start and end times, commandResult)
Trigger workflow when a transformation run starts
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ id string Transformation job ID ↳ name string Transformation job name ↳ startTime string When the run started ↳ transformationType string Job type (DBT_CORE, QUICKSTART, DBT_CLOUD, COALESCE) ↳ schedule json Job schedule (type and entries)
Trigger workflow when a transformation run succeeds
Configuration and outputsParameter Type Required Description apiKeystring Yes API Key apiSecretstring Yes API Secret triggerGroupIdstring No Group ID
Parameter Type Description eventstring Event type, e.g. sync_end createdAtstring When the event was generated (ISO 8601) connectorTypestring Connector type of the connection, e.g. okta connectorIdstring Connection ID connectorNamestring Connection name (its destination schema) syncIdstring ID of the sync the event belongs to destinationGroupIdstring Group ID of the destination dataobject ↳ id string Transformation job ID ↳ name string Transformation job name ↳ startTime string When the run started ↳ transformationType string Job type (DBT_CORE, QUICKSTART, DBT_CLOUD, COALESCE) ↳ schedule json Job schedule (type and entries) ↳ endTime string When the run ended ↳ result json Run result with stepResults (step, success, start and end times, commandResult)