v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-01441490.1 KB
Chat

Send Chat Message

post/chat/get-response

Request body

chat_thread_idstring

ID of chat to which you want to send message

textstring

message

documentsstring[] nullable

Array of document ids

Example request

{
  "chat_thread_id": "d504386d-6cba-4e38-96f0-aa16b83e1cd8",
  "text": "hi"
}

Response

actorstring

The actor (USER or AI) of the interaction

created_atstring

The timestamp when the interaction was created

dw_dataobject nullable

The data related to the data warehouse integration

idinteger

The unique identifier of the interaction

messagestring

The message content of the interaction

metadataobject nullable

The metadata associated with the interaction

modelstring nullable

The name of the model used for the interaction

thread_idstring

The ID of the chat thread associated with the interaction

timestampstring

The timestamp when the interaction occurred

user_creditsinteger nullable

The number of credits used by the user for the interaction