Create embeddings
Create vector embeddings from text using OpenAI-compatible models. Perfect for semantic search, document similarity, and building RAG systems for legal documents.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.case.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key starting with sk_case_
Body
application/json
Embedding request configuration
Text or array of texts to create embeddings for
Embedding model to use (e.g., text-embedding-ada-002, text-embedding-3-small)
Format for returned embeddings
Available options:
float, base64 Number of dimensions for the embeddings (model-specific)
Unique identifier for the end-user

