List Chats

List all chats for the current user.

Args:

db: The database session. skip: The number of chats to skip. limit: The number of chats to return. user: The current user.

Returns:

list[schemas.Chat]: The list of chats.

Headers

x-api-keystringOptional

Query parameters

skipintegerOptionalDefaults to 0
limitintegerOptionalDefaults to 100

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