Globus SDK for JavaScript
    Preparing search index...
    • Get a task by ID.

      Parameters

      • task_id: string

        The UUID of the task to retrieve.

      • Optionaloptions: ServiceMethodOptions
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              {
                  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;
              },
          >,
      >