Skip to main content
A “source” in the API is the same thing as a “connector” in the console UI — one OAuth integration with one provider account.

List sources

Requires sources:read.
string
pending (just connected, first sync hasn’t finished) → active (syncing healthy) → error (last sync failed) → disabled (manually paused).
string[] | null
Slack only. If non-null, only listed channel IDs are ingested.
object | null
Drive only. Surfaces “X files need a full resync to preserve access policies” warnings.

Get Slack channels for a connector

Requires sources:read. Slack connectors only — returns 400 for other providers.
Use this to populate a UI before calling PATCH /v1/sources/:id with an updated allowlist.

Update a source

Requires sources:write. Currently only the Slack channel allowlist is editable.
string[] | null
required
Pass an array of channel IDs to restrict ingestion to those channels. Pass null to disable the allowlist (ingest all channels the bot is a member of).
Changing the allowlist takes effect on the next sync run. To force an immediate refresh, queue a sync via /v1/sync-runs with fullResync: true.