POST
/
chat
curl --request POST \
  --url https://api.isosceles.ai/chat/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "brain_id": "d42bca76-67d9-4ba4-9c13-b8e5d5f97744",
  "name": "Test API Chat Thread",
  "chat_message_type": "TEXT"
}'
{
  "brain_id": null,
  "chat_id": null,
  "chat_message_type": "TEXT",
  "created_at": "Sun, 01 Dec 2024 09:54:39 GMT",
  "created_from": "API",
  "last_updated": "Sun, 01 Dec 2024 09:54:39 GMT",
  "model": "gpt-4o-mini",
  "response_length": "MEDIUM",
  "system_message": "",
  "temperature": 0.2,
  "title": "Test API Chat Thread11",
  "user_id": "59d5aad5-aedb-430f-882c-74283ea19c8e"
}

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.