embedder
Back to home

Developers

Documentation

Embedder provides a unified API for embedding generation, vector indexing, and semantic retrieval. This guide covers authentication, core endpoints, and SDK installation.

Authentication

All requests require a Bearer token. Generate API keys from the console after your workspace is provisioned.

Authorization: Bearer $EMBEDDER_KEY
Content-Type: application/json

Quick start

# Install SDK
pip install embedder

# Create an embedding
curl -X POST https://api.embedder.lat/v1/embed \
  -H "Authorization: Bearer $EMBEDDER_KEY" \
  -d '{"input": "your text here", "model": "embed-v2"}'
# Query a vector index
curl -X POST https://api.embedder.lat/v1/index/production/query \
  -H "Authorization: Bearer $EMBEDDER_KEY" \
  -d '{"vector": [...], "top_k": 10, "filter": {"region": "latam"}}'

Core endpoints

MethodEndpointDescription
POST/v1/embedGenerate embeddings
POST/v1/index/{id}/upsertInsert or update vectors
POST/v1/index/{id}/querySimilarity search
DELETE/v1/index/{id}/vectorsRemove vectors by ID
GET/v1/index/{id}/statsIndex statistics

SDKs

  • Python — pip install embedder
  • TypeScript — npm install @embedder/sdk
  • Go — go get github.com/embedder-lat/sdk-go

Need access? Request early access or email developers@embedder.lat.