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": "<array>", "model": "<string>" }
Returns an embedding object with the embeddings.
embedding
Bearer token must be a valid Shuttle API key. All keys are prefixed with shuttle-. Example: Bearer shuttle-abc123def456ghi789jkl012mno345pq
shuttle-
Bearer shuttle-abc123def456ghi789jkl012mno345pq
Model response