Перейти до основного вмісту
POST
Sync a source now

Авторизації

Authorization
string
header
обов'язково

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

Заголовки

Idempotency-Key
string

One key (a UUID) per logical write, sent again on each retry: a repeat within 24 hours replays the first successful answer.

Required string length: 1 - 255
Pattern: ^[\x21-\x7e]+$

Параметри шляху

id
string
обов'язково

The source id, src_….

Тіло

application/json
full
boolean
за замовчуванням:false

Re-read everything the app holds, not only what changed.

Відповідь

The source, due to sync now; after {"full": true} it also holds resync.

id
string
обов'язково
Приклад:

"src_2b9c1f"

type
string
обов'язково
Приклад:

"hubspot"

name
string
обов'язково
Приклад:

"HubSpot"

namespace
string
обов'язково

1-64 characters of a-z 0-9 _ -, starting with a letter or digit.

Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
Приклади:

"docs"

"user-42"

status
enum<string>
обов'язково

connecting (waiting for sign-in), syncing, ready, or error (see error).

Доступні опції:
connecting,
syncing,
ready,
error
error
string | null
обов'язково
documents
integer
обов'язково

Documents synced from this source.

last_synced_at
string<date-time> | null
обов'язково
created_at
string<date-time>
обов'язково
sync_interval_s
integer | null
обов'язково

Seconds between syncs in force; null while automatic and before the first sync.

sync_interval_auto
boolean
обов'язково

True when Conare picks the interval from what each sync reads.

next_sync_at
string<date-time> | null
обов'язково

When the next sync starts. Null while connecting or syncing.

cost
object
обов'язково

What the source's syncs read and what each frequency costs a month, at usd_per_million_rows.

progress
object

Only while syncing: the run in flight.

resync
object