Function getKnowledgebaseDatasourceHistories

  • Retrieves sync history for a specified datasource in a knowledgebase. Returns a 404 if there is no sync history, or if the calling user doesn't have access to the datasource.

    Parameters

    • id: string

      The id of the knowledgebase the datasource belongs to.

    • datasourceId: string

      The id of the datasource.

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

      an object with query parameters

      • Optionallimit?: number

        The number of knowledgebases 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<GetKnowledgebaseDatasourceHistoriesHttpResponse>

    GetKnowledgebaseDatasourceHistoriesHttpError