Assistant API
Search / chat with an assistant
This operation queries the completions endpoint of a Pinecone Assistant, which allows you to chat with it.
For guidance and examples, see Chat with an assistant.
POST
/
assistant
/
chat
/
{assistant_name}
/
chat
/
completions
This feature is in public preview.
Authorizations
Api-Key
string
headerrequiredPinecone API Key
Path Parameters
assistant_name
string
requiredThe name of the assistant to be described.
Body
application/json
messages
object[]
requiredstream
boolean
default: falsemodel
enum<string>
default: gpt-4oThe large language model to use for answer generation
Available options:
gpt-4o
, claude-3-5-sonnet
filter
object
Optionally filter which documents can be used in this query.
Response
200 - application/json
id
string
choices
object[]
model
string
Was this page helpful?