/embeddings

Create vector representations of text for similarity search, clustering, and retrieval applications.

POST
/v1/embeddings

Creates an embedding vector representing the input text. Useful for semantic search, recommendations, and clustering.

Request Body

modelID of the embedding model to use (required)
inputText to embed — string or array of strings (required)
Request Body
{
  "model": "your-embedding-model",
  "input": "The quick brown fox jumps over the lazy dog"
}