Embeddings
Create embeddings
OpenAI-compatible embeddings endpoint for semantic search, RAG, clustering, and classification. SandBase validates the logical model and forwards provider-compatible embedding fields; model-specific constraints are defined by the selected model and upstream provider.
post/v1/embeddings
Request
- Base URL: https://api.sandbase.ai
- URL: https://api.sandbase.ai/v1/embeddings
- Auth: HTTP bearer
Request body
Example request
{
"model": "alibaba/text-embedding-v4",
"input": "SandBase provides a unified API for AI models, agents, and developer tools.",
"dimensions": 1024
}Response
Embedding response
Example response
{
"model": "alibaba/text-embedding-v4"
}Changes
No recorded changes to this operation across all 1 revision of this API.