跳转到主要内容
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