Sources

Update sync settings

Changed on

Sets how often the connection syncs and what it watches. scope.type must match the connector, and a schedule other than off needs at least one scope entry. Allowed to the person who connected it, or a member with the Integrations permission; a personal connection only to the person who connected it.

Scope: sources:write. A key holding only the legacy write scope does not satisfy it.

patch/v1/sources/connections/{id}/sync

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Request body

SourceSyncSettingsUpdate required
interval, 'off' | 'hourly' | 'daily' | 'weekly' | 'every_minute'
scope, object

What to watch: { "type": <connector>, "entries": [...] }, e.g. Google Drive folders, Gmail labels, Notion pages, S3 or Azure prefixes.

backfill_on_init, boolean

Also bring in what is already in scope on the next sync, then only what changes.

Response

The sync settings after the change.

SourceSyncSettings required
interval, 'off' | 'hourly' | 'daily' | 'weekly' | 'every_minute'
status, 'idle' | 'queued' | 'syncing' | 'error'
last_synced_at, string date-time nullable
sync_error, string nullable
scope, object nullable

What the connection watches; its type names the connector and entries the folders, labels, pages or prefixes.

scope_summary, string nullable
supported, boolean

Whether the connector supports scheduled sync.

backfill_pending, boolean

Whether a read of what is already in scope is still to come.

Changes