AI & MLQu Query

listChatSessions

Topics: Aiml

List your chat sessions with pagination and filtering. Listing only OPS sessions (filter context eq OPS) needs only a login; any other listing requires chatsession:list permission.

Returns

ChatSessionConnection!

Arguments

first

IntOptional

Number of items from the start

last

IntOptional

Number of items from the end

after

StringOptional

Cursor to start after

before

StringOptional

Cursor to start before

Filter criteria

Sort order

Exact field SDL
"""
List your chat sessions with pagination and filtering. Listing only OPS sessions (filter context eq OPS) needs only a login; any other listing requires chatsession:list permission.
"""
listChatSessions(
  """Number of items from the start"""
  first: Int
  """Number of items from the end"""
  last: Int
  """Cursor to start after"""
  after: String
  """Cursor to start before"""
  before: String
  """Filter criteria"""
  filter: ChatSessionFilterInput
  """Sort order"""
  sort: ChatSessionSortInput
): ChatSessionConnection! @topic(names: ["aiml"])

Declared on Query. Access is checked by the platform for each operation.