cURL
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>" }
Returns an embedding object with the embeddings.
embedding
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Model response
The response is of type object.
object