Skip to the page

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 chats

This 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[].idstring

    The id of the chat.

  • data[].titlestring

    The first question, shortened.

  • data[].updatedAtstring

    When the chat was last saved.

  • data[].createdAtstring

    When the chat was started.