v5

OpenAPI 3.1.02026-08-025631,1012.8 MB
BYO Documents

Get a document by ID (path-scoped namespace)

Fetch a single document by document_id from a namespace named in the PATH — the mirror of POST /v1/namespaces/{namespace_id}/documents/upsert, so directly-upserted (BYO/standalone) documents can be read back on the same URL convention they were written with. Equivalent to GET /v1/documents/{document_id} with the X-Namespace header.

get/v1/namespaces/{namespace_id}/documents/{document_id}

Path parameters

namespace_idstring required

Namespace name or ID the document lives in.

Example:ns_abc123def456

Namespace name or ID the document lives in.

document_idstring required

The document_id to fetch.

Example:doc_001

The document_id to fetch.

Query parameters

return_vectorsboolean

Response

Successful Response

{"stackTrail":"paths:/v1/namespaces/{namespace_id}/documents/{document_id}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}