Skip to main content
POST
Generate embeddings

Body

application/json

Request to compute embeddings for sentences.

input
required

Single sentence string or list of sentences to embed. Required.

encoding_format
enum<string>
default:float

Output encoding format for embeddings: raw floats or base64-encoded binary.

Available options:
float,
base64

Response

200 - application/json

List of embeddings

object
string
data
object[]
model
string
created
integer
id
string