POST
/
v1
/
embeddings

Authorizations

Authorization
string
header
required

Body

input
required

Embedding Input

model
string
required

The model to generate the embeddings.

project_id
integer
required

The ID of the project to use.

encoding_format
enum<string>
default:
float
  • float - float
  • base64 - base64
Available options:
float,
base64

Response

200 - application/json
data
object[]
required

The embeddings for the input.

model
string
required

The model to generate the embeddings.

provider_id
string
required

The ID of the provider that generated the completion.

provider_name
string
required

The name of the provider that generated the completion.

usage
object
required

The usage statistics for the completion.