API Reference / Knowledge - Sync

Get sync status

get https://api.intelig.ai/api/v1/intelig/knowledge/sync/status

Auth: Authorization: ApiKey <key> (an API key sent as Bearer is rejected) or Authorization: Bearer <jwt> for a dashboard session. operationId: getSyncStatus

Returns the overall sync status for the current organization, including active jobs and last sync timestamps.

Example request

curl -X GET "https://api.intelig.ai/api/v1/intelig/knowledge/sync/status" \
  -H "Authorization: ApiKey $INTELIG_API_KEY"

Response 200

application/json · SyncStatusResponse

FieldTypeDescription
organizationId integer (int64) Organization ID
status string Overall sync health status
lastWebhookAt string (date-time) Timestamp of the last received webhook
pendingEvents integer (int32) Number of events pending processing
failedEvents integer (int32) Number of failed events
deadLetterEvents integer (int32) Number of events in the dead letter queue
integrationCount integer (int32) Number of configured integrations
activeBackfillJobs integer (int32) Number of currently running backfill jobs

Status codes

  • 200 — Sync status returned successfully
  • 401 — Not authenticated
  • 403 — Insufficient permissions for Knowledge pillar
  • 429 — —

Every response is wrapped in { success, message, data }. A 4xx means the request is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.