Globus SDK for JavaScript
    Preparing search index...
    • Get a list of tasks for an index.

      Parameters

      • index_id: string

        The UUID of the index.

      • Optionaloptions: ServiceMethodOptions
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              {
                  index_id: string;
                  tasks: {
                      additional_details?: unknown;
                      completion_date: string
                      | null;
                      creation_date: string;
                      index_id: string;
                      message: string;
                      state: "FAILED" | "PENDING" | "PROGRESS" | "SUCCESS" | "CREATING";
                      state_description: string;
                      task_id: string;
                      task_type: string;
                  }[];
              },
          >,
      >