experimental
Contextual Query Assistant
Allows users to ask questions or make queries, which are processed in the context of a specific interaction. Multiple tools provide responses via SSE. A thread ID is returned with the initial query, which can be used to continue posting to the same thread in subsequent queries.
POST
https://copilot.{region}.corti.app/
/
private
/
v2
/
interactions
/
{id}
/
query
Path Parameters
id
string
requiredThe interaction ID representing the context for the request.
Query Parameters
threadId
string
The thread ID representing the context for the request.
Body
application/json
query
string
requiredThe text-based query from the user.
queryContext
string
A specific document or focus context for the query.
focusContexts
string[]
A list of additional focus contexts or documents.
Response
200 - application/json
tool
string
The tool providing the response (e.g., guidelines, mentions, general_chat, etc.)
data
object
The response data specific to the tool.
Was this page helpful?