跳转到主要内容
GET
Get a source's document

授权

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_….

key
string
必填

The document's key (a push answers it), or an external_id that is its own key.

响应

The document with its text and metadata.

external_id
string
必填
key
string
必填
tag
string | null
必填
seq
integer<int64> | null
必填
user
string | null
必填
version
integer<int64>
必填
updated_at
string<date-time>
text
string

GET /sources/{id}/documents/{key} only.

metadata
object

Strings, numbers, booleans or string arrays, for filtering; else 400 invalid_metadata.

  • At most 256 indexed values: an array item or a boolean counts one, a number or a string up to 222 bytes two.