Перейти до основного вмісту
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.