Create embeddings

Request body

Response

Provider support

The gateway automatically translates embedding requests for providers that use a different wire format:

Batch embedding

Embed multiple texts in a single request by passing an array: