Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Get a Mixpeek API key from mixpeek.com/start, then pick your path — BYO vectors for instant search, or managed pipelines for automatic extraction.
Already have embeddings? Skip extraction — search in under 60 seconds.
pip install mixpeek
export MIXPEEK_API_KEY="sk_live_replace_me"
1

Create a standalone namespace

from mixpeek import Mixpeek

client = Mixpeek(api_key="YOUR_MIXPEEK_API_KEY")

client.namespaces.create(
    namespace_id="my-search",
    mode="standalone",
)
2

Upsert your vectors

client.namespaces.documents.upsert(
    namespace_id="my-search",
    documents=[{
        "document_id": "doc-001",
        "vectors": {"embedding": [0.12, -0.34, 0.56]},  # your embedding
        "payload": {"title": "First document", "category": "demo"},
    }],
)
3

Search

Vectors are searchable within 10–30 seconds of upsert (the index flushes in the background). For immediate verification, add a short poll:
import time

# Wait for indexing
time.sleep(15)

results = client.search(
    namespace_id="my-search",
    queries=[{
        "vector_name": "embedding",
        "vector": [0.15, -0.28, 0.44],  # query embedding
        "top_k": 10,
    }],
)
for hit in results["results"]:
    print(f"{hit['score']:.3f} | {hit['payload']['title']}")
MVS infers vector dimensions on first write — no schema needed. When you’re ready for automatic extraction, promote your namespace to Managed.