Assistant API
Search / chat with an assistant
This operation queries the completions endpoint of a Pinecone Assistant. For guidance and examples, see the chat with assistant guide.
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[]
requiredAn array of objects that represent the messages in a conversation.
streaming
boolean
default: falseWhether to return a streaming response.
Response
200 - application/json
chat_completion
object
The ChatCompletionModel describes the response format of a chat request
Was this page helpful?