الانتقال إلى المحتوى الرئيسي
PATCH
Set how often a source syncs

التفويضات

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
sync_interval_s
integer | null

Seconds between syncs; null or absent is the automatic interval.

النطاق المطلوب: 300 <= x <= 2592000
مثال:

3600

الاستجابة

The source.

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.