POST
/
v1
/
embeddings
curl --request POST \
  --url https://api.shuttleai.com/v1/embeddings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "<string>",
  "input": "<string>"
}'
{
  "object": "<string>",
  "data": [
    "<any>"
  ],
  "model": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
model
string
required
input
required

Response

200 - application/json
Model response
object
string
data
any[]
model
string