This endpoint allows the user to make an HTTP POST request to submit a query to the specified collection.
collection_id
(text): The ID of the collection to which the query is being submitted.
message
(text): The message being submitted to the collection.
chat_history
(text): History of chat between user and system.
The response for this request is a JSON schema with the following structure:
response
(object): The JSON schema for the query response.
tokens
(number): The number of tokens.
success
(boolean): Indicates whether the request was successful.
OK
The response is of type object
.