跳转到主要内容
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>