Passer au contenu principal
GET
Get a document

Autorisations

Authorization
string
header
requis

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

Paramètres de chemin

namespace
string
requis

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}$
Exemples:

"docs"

"user-42"

id
string
requis

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}$
Exemples:

"refunds"

"hubspot:contacts:1042"

Réponse

The whole document.

id
string
requis

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}$
Exemples:

"refunds"

"hubspot:contacts:1042"

text
string
requis
metadata
object
requis

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>
requis
version
integer<int64>
requis

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

Plage requise: 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}$
Exemple:

"tenant-7:u_42"

seq
integer<int64>