Skip to content

Searches for sessions

Description

Searches for sessions.

Usage

connectwisdomservice_search_sessions(assistantId, maxResults, nextToken,
  searchExpression)

Arguments

  • assistantId

    [required] The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • maxResults

    The maximum number of results to return per page.

  • nextToken

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • searchExpression

    [required] The search expression to filter results.

Value

A list with the following syntax:

list(
  nextToken = "string",
  sessionSummaries = list(
    list(
      assistantArn = "string",
      assistantId = "string",
      sessionArn = "string",
      sessionId = "string"
    )
  )
)

Request syntax

svc$search_sessions(
  assistantId = "string",
  maxResults = 123,
  nextToken = "string",
  searchExpression = list(
    filters = list(
      list(
        field = "NAME",
        operator = "EQUALS",
        value = "string"
      )
    )
  )
)