POST
/
chat
/
get-response

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
chat_thread_id
string

ID of chat to which you want to send message

text
string

message

documents
string[] | null

Array of document ids

Response

200 - application/json
actor
string

The actor (USER or AI) of the interaction

created_at
string

The timestamp when the interaction was created

dw_data
object | null

The data related to the data warehouse integration

id
integer

The unique identifier of the interaction

message
string

The message content of the interaction

metadata
object | null

The metadata associated with the interaction

model
string | null

The name of the model used for the interaction

reference
object[] | null

The list of references associated with the interaction

thread_id
string

The ID of the chat thread associated with the interaction

timestamp
string

The timestamp when the interaction occurred

user_credits
integer | null

The number of credits used by the user for the interaction