Vai al contenuto principale
GET
Get a document

Autorizzazioni

Authorization
string
header
obbligatorio

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

Parametri del percorso

namespace
string
obbligatorio

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

"docs"

"user-42"

id
string
obbligatorio

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

"refunds"

"hubspot:contacts:1042"

Risposta

The whole document.

id
string
obbligatorio

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

"refunds"

"hubspot:contacts:1042"

text
string
obbligatorio
metadata
object
obbligatorio

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

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

Intervallo richiesto: 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}$
Esempio:

"tenant-7:u_42"

seq
integer<int64>