Skip to main content
POST
Create embeddings (legacy engines)

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

engine
string
requis

Engine identifier used in the request path.

Corps

application/json
model
string
requis

Embedding model ID used in the JSON body.

input
string
requis

Input text to embed.

Réponse

Embedding results.

object
string

Always list.

data
object[]

Embedding results.

model
string

Model used for the request.

usage
object