Function getAssistantThreadInteractions

  • Retrieves the list of interactions for the thread.

    Parameters

    • assistantId: string

      The ID of the assistant from which to retrieve the interactions.

    • threadId: string

      The ID of the thread from which to retrieve the interactions.

    • query: {
          limit?: number;
          next?: string;
          prev?: string;
          sort?: "CREATED" | "-CREATED" | "UPDATED" | "-UPDATED";
      }

      an object with query parameters

      • Optionallimit?: number

        The number of feedback to get.

      • Optionalnext?: string

        Optional parameter to request the next page.

      • Optionalprev?: string

        Optional parameter to request the previous page.

      • Optionalsort?: "CREATED" | "-CREATED" | "UPDATED" | "-UPDATED"

        Optional resource field name to sort on, case insensitive, e.g. created. Can be prefixed with - to set descending order; defaults to ascending.

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetAssistantThreadInteractionsHttpResponse>

    GetAssistantThreadInteractionsHttpError