Skip to main content
GET
/
chat
cURL
curl --request GET \
  --url https://www.quikquery.io/api/v1/chat \
  --header 'api-token: <api-key>'
{
  "queries": [
    {
      "_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
    }
  ],
  "totalCount": 123
}

Authorizations

api-token
string
header
required

Query Parameters

month
integer<int32>

The specific month you want to filter with it

year
integer<int32>

The specific year you want to filter with it

page
integer<int32>

The page number you want to get

pageSize
integer<int32>

The page size you want to get

Response

Chat response

queries
object[]
totalCount
integer

Total number of chat records