List chats
The chats the signed-in person kept with the assistant, the latest first.
View as
opensend.ask.chats()Needs the scopeworkspace:read
Signed-in person only
From a terminalopensend ask chatsThis method answers a person who is signed in to the dashboard. A call with an API key is refused with 403.
This method takes no input.
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
object"list"Always
list.dataobject[]The chats of the person asking, newest first.
data[].object"chat"Always
chat.data[].idstringThe id of the chat.
data[].titlestringThe first question, shortened.
data[].updatedAtstringWhen the chat was last saved.
data[].createdAtstringWhen the chat was started.