Embeddings
Create embeddings
Generates embeddings for the given input text. Supports single strings or arrays of strings. Response includes token usage and cost information.
post/api/{workspaceID}/v1/embeddings
Path parameters
workspaceIDstring required
The workspace ID
Request body
Example request
{
"model": "openai/text-embedding-3-small"
}Response
Successful response