v13

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-0148123138.3 KB
Embeddings

Create Embeddings

post/v1/embeddings

Request body

modelstring required

ID of the model to use. Call /v1/models endpoint to get the list of available models, only text-embeddings-inference model type is supported.

dimensionsinteger nullable

The number of dimensions the resulting output embeddings should have.

encoding_format'float' | 'base64'

Response

Successful Response

modelstring required
object'list'

The type of object returned.

idstring nullable

A unique identifier for the request.