The source object

Shape of a Data Source, uploaded files, scraped websites, or connector-backed knowledge bases.

A Source is a knowledge base an agent can read from, an uploaded file collection, a scraped website, a single webpage, or a connector-backed source (Google Drive, Notion, Zendesk Help Center).

Object shape

{
  "id": "source_64f1c0ef2ec711ef6dc1dcf",
  "type": "website",
  "name": "Macha Marketing Site",
  "connector_id": null,
  "connector_type": null,
  "sync_status": "ready",
  "last_sync_at": "2026-06-20T12:00:00.000Z",
  "document_count": 42,
  "is_active": true,
  "created_at": "2026-06-01T00:00:00.000Z",
  "updated_at": "2026-06-20T12:00:00.000Z"
}

Attributes

FieldTypeNotes
idstringsource_<24 hex>.
typeenumupload | website | webpage | connector. See the four-type table below.
namestringDisplay name.
connector_idstring | nullFor type=connector, the connector this source is bound to.
connector_typestring | nulle.g. google, notion, confluence, zendesk.
sync_statusstringready | fetching | syncing | error.
last_sync_atISO 8601 | nullWhen the last sync completed.
document_countinteger | nullHow many documents are indexed.
is_activebooleanWhether agents can query it.
created_atISO 8601Always UTC.
updated_atISO 8601Bumped on changes.

The four source types

TypeHow it's createdAPI-creatable?
uploadSingleton, auto-provisioned per org. Holds files uploaded via the dashboard.No (always exists). API POST returns 409.
connectorAuto-created when the connector is added (Google / Notion / Confluence / Zendesk HC).No. API POST returns 422, use the connector flow.
websiteFull-site crawl.Yes via POST.
webpageSingle page.Yes via POST.

Sync lifecycle

Indexing is asynchronous. When you POST a website source, the response returns sync_status: "fetching". Agents can't query it until sync_status: "ready". Poll the source by ID to check progress.

📘
No PATCH in v1

Sources are immutable after creation. To change a source, delete and recreate it.

© 2026 AGZ Technologies Private Limited