POST
/
embed

This feature is in public preview.

To use the Inference API with the Python SDK or Node.js SDK, upgrade to the latest client version:

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

Model name to use for embedding generation.

parameters
object

Model-specific parameters.

inputs
object[]
required

List of inputs to generate embeddings for that varies by model

Response

200 - application/json
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 model inference including any instruction prefixes