POST
/
embed

Authorizations

api_key
string
headerrequired

Body

application/json
model
string
required

The model to use for embedding generation.

inputs
object[]
required

List of inputs to generate embeddings for.

parameters
object

Additional model-specific parameters. Refer to the model guide for available model parameters.

Response

200 - application/json

Embeddings generated for the input.

model
string
required

The model used to generate the embeddings

vector_type
string
required

Indicates whether the response data contains 'dense' or 'sparse' embeddings.

data
object[]
required

The embeddings generated for the inputs.

usage
object
required

Usage statistics for the model inference.