Skip to main content
POST
Generate embeddings for sentences

Authorizations

Authorization
string
header
required

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

Headers

Api-key
string | null

Body

application/json
sentences
string[]
required

Response

Successful Response

embeddings
Embeddings · object[]
required
num_tokens
integer
required