curl --request GET \
--url https://www.quikquery.io/api/v1/chat \
--header 'api-token: <api-key>'
[
{
"_id": "<string>",
"metadata": {
"location": {
"city": "<string>",
"country": "<string>",
"lat": "<string>",
"long": "<string>"
},
"ip": "<string>",
"browser": "<string>",
"os": "<string>",
"userAgent": "<string>",
"cookies": "<string>",
"browserLanguage": "<string>",
"referer": "<string>"
},
"token": {
"inputTokens": 123,
"outputTokens": 123,
"totalTokens": 123
},
"debug": {
"executionTime": {
"standaloneQuestion": 123,
"queryEmbedding": 123,
"vectorSearch": 123,
"FinalResponse": 123
},
"modelName": "<string>"
},
"source": "<string>",
"chatHistory": "<string>",
"rawQuery": "<string>",
"standaloneQuery": "<string>",
"relatedChunks": [
{
"chunk": {
"_id": "<string>",
"content": "<string>",
"source": "<string>"
},
"similarityScore": 123,
"_id": "<string>"
}
],
"threshold": 123,
"response": "<string>",
"isNotFound": true,
"evaluation": "<string>",
"account": "<string>",
"agent": {
"_id": "<string>",
"name": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"__v": 123
}
]
Returns all chat between user and chat bot
curl --request GET \
--url https://www.quikquery.io/api/v1/chat \
--header 'api-token: <api-key>'
[
{
"_id": "<string>",
"metadata": {
"location": {
"city": "<string>",
"country": "<string>",
"lat": "<string>",
"long": "<string>"
},
"ip": "<string>",
"browser": "<string>",
"os": "<string>",
"userAgent": "<string>",
"cookies": "<string>",
"browserLanguage": "<string>",
"referer": "<string>"
},
"token": {
"inputTokens": 123,
"outputTokens": 123,
"totalTokens": 123
},
"debug": {
"executionTime": {
"standaloneQuestion": 123,
"queryEmbedding": 123,
"vectorSearch": 123,
"FinalResponse": 123
},
"modelName": "<string>"
},
"source": "<string>",
"chatHistory": "<string>",
"rawQuery": "<string>",
"standaloneQuery": "<string>",
"relatedChunks": [
{
"chunk": {
"_id": "<string>",
"content": "<string>",
"source": "<string>"
},
"similarityScore": 123,
"_id": "<string>"
}
],
"threshold": 123,
"response": "<string>",
"isNotFound": true,
"evaluation": "<string>",
"account": "<string>",
"agent": {
"_id": "<string>",
"name": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"__v": 123
}
]
The specific month you want to filter with it
The specific year you want to filter with it
The page number you want to get
The page size you want to get
Chat response
The response is of type object[]
.