Manage Assistants
Chat with an assistant
Chat with an assistant and get back citations in structured form.
This is the recommended way to chat with an assistant, as it offers more functionality and control over the assistant's responses and references than the OpenAI-compatible chat interface.
For guidance and examples, see Chat with an assistant.
post/chat/{assistant_name}
Path parameters
assistant_namestring required
The name of the assistant to be described.
Headers
X-Pinecone-Api-Versionstring required
Required date-based version header
Request body
Example request
{
"filter": {
"genre": {
"$ne": "documentary"
}
},
"context_options": {
"top_k": 20,
"snippet_size": 4096
}
}Response
Search request successful.
Example response
{
"citations": [
{
"references": [
{
"file": {
"size": 1048576,
"metadata": {
"created_by": "Jane Doe",
"published": "2025-10-01",
"tags": [
"report",
"Q4",
"analytics"
]
},
"created_on": "2025-10-01T12:30:00Z",
"updated_on": "2025-10-01T12:45:00Z",
"signed_url": "https://storage.googleapis.com/bucket/file.pdf?..."
}
}
]
}
]
}