Zum Hauptinhalt springen
POST
Sync a source now

Autorisierungen

Authorization
string
header
erforderlich

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

Header

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]+$

Pfadparameter

id
string
erforderlich

The source id, src_….

Body

application/json
full
boolean
Standard:false

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

Antwort

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

id
string
erforderlich
Beispiel:

"src_2b9c1f"

type
string
erforderlich
Beispiel:

"hubspot"

name
string
erforderlich
Beispiel:

"HubSpot"

namespace
string
erforderlich

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

Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
Beispiele:

"docs"

"user-42"

status
enum<string>
erforderlich

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

Verfügbare Optionen:
connecting,
syncing,
ready,
error
error
string | null
erforderlich
documents
integer
erforderlich

Documents synced from this source.

last_synced_at
string<date-time> | null
erforderlich
created_at
string<date-time>
erforderlich
sync_interval_s
integer | null
erforderlich

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

sync_interval_auto
boolean
erforderlich

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

next_sync_at
string<date-time> | null
erforderlich

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

cost
object
erforderlich

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