POST
/
chat
/

Authorizations

Authorization
string
headerrequired

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

Body

application/json
brain_id
string
required

The ID of the brain to associate with the chat

name
string
required

The name of the chat

chat_message_type
enum<string>
required

The type fo response interface

Available options:
TEXT,
JSON
response_length
enum<string> | null
default: MEDIUM

Configure response length

Available options:
SHORT,
MEDIUM,
LONG
temperature
number | null

between 0 and 1

Required range: 0 < x < 1
system_message
string | null

System message for the LLM

model
string | null
default: gpt-4o-mini

LLM Model to choose from

Response

200 - application/json
brain_id
string
chat_id
string
created_at
string
created_from
string
last_updated
string
model
string
system_message
string
temperature
number | null
title
string
user_id
string
response_length
enum<string> | null
default: MEDIUM
Available options:
SHORT,
MEDIUM,
LONG
chat_message_type
enum<string>
default: TEXT
Available options:
TEXT,
JSON