POST
/
query
/
customer
curl --request POST \
  --url https://api.liquidindex.dev/query/customer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "<string>",
  "query": "<string>",
  "top_k": 5
}'
[
  {
    "score": 123,
    "content": "<string>",
    "metadata": {
      "id": "<string>",
      "file": "<string>",
      "source": "<string>",
      "type": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful query response

The response is of type object[].