Embed
Embed data
Generate embeddings for input data.
For guidance and examples, see Generate embeddings.
POST
/
embed
Authorizations
Api-Key
string
headerrequiredAn API Key is required to call Pinecone APIs. Get yours from the console.
Body
application/json
model
string
requiredThe model to use for embedding generation.
inputs
object[]
requiredList of inputs to generate embeddings for.
parameters
object
Model-specific parameters.
Response
200 - application/json
Embeddings generated for the input
model
string
requiredThe model used to generate the embeddings
data
object[]
requiredThe embeddings generated for the inputs.
usage
object
requiredUsage statistics for the model inference.
Was this page helpful?