POST
/
chat
/
get-response
curl --request POST \
  --url https://api.isosceles.ai/chat/get-response \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "chat_thread_id": "6b6a092d-8f6e-48e8-bde8-b013a211b6ae",
  "text": "What is the customer motto of Amazon in one line"
}'
[
  {
    "actor": "AI",
    "created_at": "Sat, 21 Sep 2024 11:56:39 GMT",
    "dw_data": {},
    "id": 4335,
    "message": "Amazon's customer motto is \"Customer Obsession,\" emphasizing a commitment to prioritizing customer needs and satisfaction in all aspects of its business.",
    "metadata": {},
    "model": "gpt-4o-mini",
    "reference": [],
    "thread_id": "6b6a092d-8f6e-48e8-bde8-b013a211b6ae",
    "timestamp": "Sat, 21 Sep 2024 11:56:39 GMT",
    "user_credits": 196
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Response

200 - application/json

The response is of type object[].