Skip to main content
Promotion converts a standalone namespace to managed mode. Existing vectors and documents stay in place. Mixpeek adds auto-embedding for queries and collection-driven processing for new content.
Promotion flow: standalone namespace with vectors becomes managed with inference mappings, no reindexing

Promote

Map existing vector indexes to inference services and optionally add new ones.

Parameters

array
Map existing indexes to inference services for auto-embedding queries.
array
New vector indexes to create during promotion.

Response

Validate Before You Promote

POST /v1/namespaces/{namespace_id}/promote/validate takes the same body as promote and changes nothing. It returns:
  • valid: whether the promote call would succeed.
  • suggestions: for each existing index, candidate inference services whose dimension matches, with low-confidence matches flagged.
  • errors: unknown indexes, unknown inference services and dimension mismatches in the body you sent.
An invalid body gets a 422, so you can fix the mapping before the real call.

What Changes

Rules

Promotion is one-way. Managed namespaces cannot be demoted.
  • Only standalone namespaces can be promoted
  • existing_index must reference an index that exists; errors list available indexes
  • name in add_vectors must not conflict with existing indexes
  • Promotion is atomic. If validation fails, nothing changes
  • Both vector_mappings and add_vectors are optional (promote with just one or neither)

Full Workflow

1

Start standalone

Create a namespace and upsert your existing embeddings.
2

Load and validate

Upsert documents and verify retrieval quality before promoting.
3

Promote

Map your embedding to the matching inference service.
4

Switch queries to text input

Your retrievers already run before and after promotion with no API change. Update the query stage from input_mode: vector (you pass the embedding) to input_mode: text so Mixpeek auto-embeds. See Querying with Retrievers below.
5

Use managed features

Create collections with extractors for new content. Existing documents coexist with extractor-processed documents.

Querying with Retrievers

Querying is unified on retrievers in both standalone and managed modes, so you learn one query concept regardless of whether you bring your own vectors or let Mixpeek embed for you. Promotion doesn’t change how you query; it only changes what you pass in. A standalone retriever takes the query vector you computed (input_mode: vector); after promotion the same retriever can take raw text and auto-embed it (input_mode: text).

Before promotion: pass your own vector

The query stage runs in input_mode: vector. You compute the embedding and pass it in inputs.

After promotion: pass raw text

Once my_text_v1 is mapped to an inference service, switch the query stage to input_mode: text. Mixpeek embeds the text for you, so no vectors are needed.
Each hit in the response exposes document_id plus the document’s payload fields.

What Changes

Promotion is additive. Your retrievers keep working. Flip the query stage to input_mode: text whenever you’re ready to let Mixpeek handle embedding, and layer in multi-stage pipelines as your needs grow.