Skip to main content
POST
Create embeddings (legacy engines)

인증

Authorization
string
header
필수

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

경로 매개변수

engine
string
필수

Engine identifier used in the request path.

본문

application/json
model
string
필수

Embedding model ID used in the JSON body.

input
string
필수

Input text to embed.

응답

Embedding results.

object
string

Always list.

data
object[]

Embedding results.

model
string

Model used for the request.

usage
object