POST
/
assistant
/
chat
/
{assistant_name}
/
context

This feature is in public preview.

Authorizations

Api-Key
string
headerrequired

Pinecone API Key

Path Parameters

assistant_name
string
required

The name of the assistant to be described.

Body

application/json

Parameters to retrieve context from an assistant.

query
string
required

The query that is used to generate the context.

filter
object

Optionally filter which documents can be used in this query.

Response

200 - application/json

The response format containing the context from an assistant.

snippets
object[]
required
usage
object
required

The UsageModel describes the usage of a chat completion