Create Chat

Create a new chat.

Args:

db: The database session. chat_in: The chat creation data. user: The current user.

Returns:

schemas.Chat: The created chat.

Headers

x-api-keystringOptional

Request

This endpoint expects an object.
namestringRequired
sync_idstringRequiredformat: "uuid"
descriptionstringOptional
model_namestringOptional
model_settingsmap from strings to anyOptional
search_settingsmap from strings to anyOptional

Response

Successful Response

namestring
sync_idstringformat: "uuid"
idstringformat: "uuid"
created_atdatetime
modified_atdatetime
created_by_emailstring
modified_by_emailstring
organization_idstringformat: "uuid"
descriptionstringOptional
model_namestringOptional
model_settingsmap from strings to anyOptional
search_settingsmap from strings to anyOptional
messageslist of objectsOptional

Errors