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
Changes
No recorded changes to this endpoint across all 1 revision of this API.