Skip to main content
GET
Get a document by ID (path-scoped namespace)

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

Path Parameters

namespace_id
string
required

Namespace name or ID the document lives in.

Example:

"ns_abc123def456"

document_id
string
required

The document_id to fetch.

Example:

"doc_001"

Query Parameters

return_vectors
boolean
default:false

Response

Successful Response