data
Query Collection Endpoint
Executes a collection query by retrieving all rows from the dataset (excluding the _embedding_vec column) and building an XML context from the query results. The context is then passed to the chatbot for response generation.
Request payload:
- dataset_id: The dataset ID to query.
- messages: A list of messages forming the conversation. The conversation must end with a user message.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Represents the current organisation ID for the user (example: 'org_u13TesTDumMyEe5P')
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.