POST
/
embed

Authorizations

Api-Key
string
headerrequired

An API Key is required to call Pinecone APIs. Get yours from the console.

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

Model-specific parameters.

Response

200 - application/json

Embeddings generated for the input

model
string
required

The model used to generate the embeddings

data
object[]
required

The embeddings generated for the inputs.

usage
object
required

Usage statistics for the model inference.