跳转到主要内容
GET
Get a source

授权

Authorization
string
header
必填

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

路径参数

id
string
必填

The source id, src_….

响应

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.