v44

latestSwagger 2.0raw.githubusercontent.com2026-08-01304236810.6 KB
DataSource

List data sources for a knowledge base

List all data sources for a specific knowledge base

get/datasource

Query parameters

kb_idstring required

Knowledge base ID

Response

OK

configinteger[]

Encrypted configuration (API credentials, tokens, etc.) Stored as JSON with AES-256-GCM encryption

conflict_strategystring

Conflict resolution strategy: overwrite or skip

created_atstring

Creation timestamp

error_messagestring

Error message if status is "error"

idstring

Unique identifier

knowledge_base_idstring

Target knowledge base ID

last_sync_atstring

Last successful sync timestamp

last_sync_cursorinteger[]

Cursor or state for incremental sync (connector-specific)

last_sync_resultinteger[]

Summary of last sync result

namestring

User-friendly name

statusstring

Current status: active, paused, error

sync_deletionsboolean

Whether to sync deletions from source

sync_log_retention_daysinteger

Number of days to keep sync logs (default: 30)

sync_modestring

Sync mode: "incremental" (recommended) or "full"

sync_schedulestring

Cron expression for scheduled syncs (e.g., "0 */6 * * *" = every 6 hours)

tenant_idinteger

Workspace ID for multi-workspace isolation

total_items_syncedinteger

Total items synced (not stored in DB, calculated on query)

typestring

Connector type (feishu, notion, confluence, etc.)

updated_atstring

Last update timestamp