v44

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

Get sync logs

Retrieve sync history for a data source

get/datasource/{id}/logs

Path parameters

idstring required

Data source ID

Query parameters

limitinteger

Limit (default: 10)

offsetinteger

Offset (default: 0)

Response

OK

created_atstring

Creation timestamp (usually same as StartedAt)

data_source_idstring

Reference to the data source

error_messagestring

Error details if status is "failed"

finished_atstring

Sync completion time

idstring

Unique identifier

items_createdinteger

New items created in knowledge base

items_deletedinteger

Items deleted from knowledge base

items_failedinteger

Items that failed to sync

items_skippedinteger

Items skipped (no changes detected)

items_totalinteger

Total items fetched from source

items_updatedinteger

Existing items updated

resultinteger[]

Detailed sync result (JSON-encoded)

started_atstring

Sync start time

statusstring

Sync status: running, success, partial, failed, canceled

tenant_idinteger

Workspace ID

updated_atstring

Last update timestamp