Skip to main content

getImportProgress()

Retrieves the current state and progress of a bulk import job in Milvus or Zilliz Cloud.

java
public static String getImportProgress(String url, BaseDescribeImportRequest request)

Request Syntax

Use this request for an import job created in Zilliz Cloud.

java
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 or username:password for Milvus requests.

  • clusterId (String) -
    Cluster identifier for cluster-based deployments. For project database deployments, use projectId and regionId instead.

  • projectId (String) -
    Project identifier for project database deployments. Use with regionId instead of clusterId.

  • regionId (String) -
    Region identifier for project database deployments. Use with projectId instead of clusterId.

  • 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.

java
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);
Minimum SDK versionv2.5.x
Ctrl I