POST
/
embeddings
curl --request POST \
  --url https://{controlPlaneURL}/api/llm/api/inference/openai/embeddings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "<string>",
  "input": "<string>",
  "user": "<string>"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Parameters for generating embeddings.

The body is of type object.

Response

200

Embeddings generated successfully.