GET
/
chat
cURL
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
  }
]

Authorizations

api-token
string
header
required

Query Parameters

month
integer

The specific month you want to filter with it

year
integer

The specific year you want to filter with it

page
integer

The page number you want to get

pageSize
integer

The page size you want to get

Response

200
application/json

Chat response

The response is of type object[].