Update a data source
Update an existing data source configuration
Path parameters
Data source ID
Request body
Encrypted configuration (API credentials, tokens, etc.) Stored as JSON with AES-256-GCM encryption
Conflict resolution strategy: overwrite or skip
Creation timestamp
Error message if status is "error"
Unique identifier
Target knowledge base ID
Last successful sync timestamp
Cursor or state for incremental sync (connector-specific)
Summary of last sync result
User-friendly name
Current status: active, paused, error
Whether to sync deletions from source
Number of days to keep sync logs (default: 30)
Sync mode: "incremental" (recommended) or "full"
Cron expression for scheduled syncs (e.g., "0 */6 * * *" = every 6 hours)
Workspace ID for multi-workspace isolation
Total items synced (not stored in DB, calculated on query)
Connector type (feishu, notion, confluence, etc.)
Last update timestamp
Response
OK
Encrypted configuration (API credentials, tokens, etc.) Stored as JSON with AES-256-GCM encryption
Conflict resolution strategy: overwrite or skip
Creation timestamp
Error message if status is "error"
Unique identifier
Target knowledge base ID
Last successful sync timestamp
Cursor or state for incremental sync (connector-specific)
Summary of last sync result
User-friendly name
Current status: active, paused, error
Whether to sync deletions from source
Number of days to keep sync logs (default: 30)
Sync mode: "incremental" (recommended) or "full"
Cron expression for scheduled syncs (e.g., "0 */6 * * *" = every 6 hours)
Workspace ID for multi-workspace isolation
Total items synced (not stored in DB, calculated on query)
Connector type (feishu, notion, confluence, etc.)
Last update timestamp