Skip to main content
POST
Create embeddings (legacy engines)

Autorizaciones

Authorization
string
header
requerido

Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.

Parámetros de ruta

engine
string
requerido

Engine identifier used in the request path.

Cuerpo

application/json
model
string
requerido

Embedding model ID used in the JSON body.

input
string
requerido

Input text to embed.

Respuesta

Embedding results.

object
string

Always list.

data
object[]

Embedding results.

model
string

Model used for the request.

usage
object