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

Параметри шляху

namespace
string
обов'язково

The namespace name. 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"

id
string
обов'язково

The document id. 1-256 characters of A-Z a-z 0-9 . _ : -, starting with a letter or digit.

Pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$
Приклади:

"refunds"

"hubspot:contacts:1042"

Відповідь

The whole document.

id
string
обов'язково

1-256 characters of A-Z a-z 0-9 . _ : -, starting with a letter or digit.

Pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$
Приклади:

"refunds"

"hubspot:contacts:1042"

text
string
обов'язково
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.
updated_at
string<date-time>
обов'язково
version
integer<int64>
обов'язково

Changes on every write that stores something new; compare for equality only.

Необхідний діапазон: x >= 1
user
string

A user id of yours, with at most 8 :; group users with : (tenant-7:u_42) and query a group by user_prefix.

Pattern: ^[A-Za-z0-9][A-Za-z0-9._:@-]{0,127}$
Приклад:

"tenant-7:u_42"

seq
integer<int64>