Skip to main content
POST
Create embeddings (legacy engines)

Authorizations

Authorization
string
header
required

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

Path Parameters

engine
string
required

Engine identifier used in the request path.

Body

application/json
model
string
required

Embedding model ID used in the JSON body.

input
string
required

Input text to embed.

Response

Embedding results.

object
string

Always list.

data
object[]

Embedding results.

model
string

Model used for the request.

usage
object