PUT
/
chat
/
{chat_id}
curl --request PUT \
  --url https://api.isosceles.ai/chat/{chat_id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "temperature": 0.3,
  "name": "Updated name",
  "system_message": "You are a customer support bot for ByteLeap.",
  "response_length": "SHORT"
}'
[
  {
    "brain_id": "e46c625f-9057-4e0c-88ba-3a27d0c34748",
    "chat_id": "8be10463-2234-4d4d-9fd5-17773e0e6f55",
    "created_at": "Sat, 21 Sep 2024 10:54:32 GMT",
    "created_from": "API",
    "last_updated": "Sat, 21 Sep 2024 10:54:32 GMT",
    "model": "gpt-4o-mini",
    "sp_metadata": {},
    "system_message": "You are a customer support bot for ByteLeap.",
    "temperature": 0.3,
    "title": "Updated name",
    "user_id": "7c4b9f75-cda3-4d32-a5bb-6d1f7352ff7b"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

chat_id
string
required

Body

application/json

Response

200
application/json

The response is of type object.