getImportProgress()
Retrieves the current state and progress of a bulk import job in Milvus or Zilliz Cloud.
public static String getImportProgress(String url, BaseDescribeImportRequest request)
Request Syntax
Use this request for an import job created in Zilliz Cloud.
CloudDescribeImportRequest.builder()
.apiKey(apiKey)
.clusterId(clusterId)
.projectId(projectId)
.regionId(regionId)
.jobId(jobId)
.build();
PARAMETERS:
-
apiKey (String) -
Authentication credential. Use the Zilliz Cloud API key for Cloud requests orusername:passwordfor Milvus requests. -
clusterId (String) -
Cluster identifier for cluster-based deployments. For project database deployments, useprojectIdandregionIdinstead. -
projectId (String) -
Project identifier for project database deployments. Use withregionIdinstead ofclusterId. -
regionId (String) -
Region identifier for project database deployments. Use withprojectIdinstead ofclusterId. -
jobId (String) -
Identifier of the import job to inspect.
RETURNS:
String
A JSON response containing the import job state, progress, and related details.
Example
Gets import progress with project and region identifiers.
CloudDescribeImportRequest request = CloudDescribeImportRequest.builder()
.projectId(PROJECT_ID)
.regionId(REGION_ID)
.jobId(jobId)
.apiKey(API_KEY)
.build();
String response = BulkImportUtils.getImportProgress("https://api.cloud.zilliz.com", request);