Skip to content
dimmiDocs

AI agent

List a knowledge source's syncs

GET/api/v1/knowledge/sources/{source}/syncs

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:read ability

Path parameters

sourcestringrequired

Id of the knowledge source, starting with ks_, such as ks_01jx2m8k4t. Find it with GET /knowledge/sources.

Response 200

OK
dataobject[] | nullrequired

The items of this page, as a list; empty when nothing matches.

Show child attributes
created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

errorstring | nullrequired

Why the run failed, in words. Null when it did not.

error_codestring | nullrequired

Short code of the run's error. Null when it did not fail.

finished_atstring | nullrequired

When the run ended. Null while it is queued or running.

Format: date-time

full_runbooleanrequired

True when the run reads the whole source and removes documents it no longer finds; false for a partial run.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

source_idstringrequired

Id of the knowledge source the run belongs to, starting with ks_.

started_atstring | nullrequired

When the run began. Null while it is still queued.

Format: date-time

statsanyrequired

The run's counters as an object of numbers, such as created, updated, unchanged and removed documents.

statusstringrequired

Where the run stands: queued, running, succeeded, partial, failed or canceled.

triggerstringrequired

What started the run: create, manual, schedule, webhook, retry or document.

linksobject

Addresses of related pages by name, such as next; left out when there are none.

metaobjectrequired
Show child attributes
next_cursorstring | nullrequired

Send it as cursor to read the next page; null on the last page.

per_pageintegerrequired

How many items a page holds at most, such as 25.

Format: int64

prev_cursorstring | nullrequired

Send it as cursor to read the page before; null on the first page.

totalinteger

How many items match in all; left out when the list does not count them.

Format: int64

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.