Function getKnowledgebaseHistories

  • Retrieves sync history for the specified knowledgebase. Will return a 404 if no sync history exists, or if the calling user does not have access to synced datasources.

    Parameters

    • id: string

      The id of the knowledgebase.

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

      an object with query parameters

      • Optionallimit?: number

        The number of sync histories to get.

      • Optionalnext?: string

        Optional parameter to request the next page.

      • Optionalprev?: string

        Optional parameter to request the previous page.

      • Optionalsort?: "COMPLETED" | "-COMPLETED"

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

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetKnowledgebaseHistoriesHttpResponse>

    GetKnowledgebaseHistoriesHttpError