메인 콘텐츠로 건너뛰기
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.