POST
/
embed

Authorizations

Api-Key
string
header
required

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

Body

application/json
inputs
object[]
required

List of inputs to generate embeddings for.

model
string
required

The model to use for embedding generation.

parameters
object

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

Response

200 - application/json

Embeddings generated for the input.

data
object[]
required

The embeddings generated for the inputs.

model
string
required

The model used to generate the embeddings

usage
object
required

Usage statistics for the model inference.

vector_type
string
required

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