跳到主要内容
版本:v3.0.x

getImportJobProgress()

This operation gets progress for an HTTP import job. Use it to poll job state, imported row count, file details, and failure reason.

JavaScript
await milvusClient.getImportJobProgress(params: HttpImportProgressReq)

Request Syntax​

JavaScript
await milvusClient.getImportJobProgress({
jobId: string,
dbName?: string,
})

PARAMETERS:

  • jobId (string) -

    [REQUIRED]

    Specifies the import job ID returned by createImportJobs().

  • dbName (string) -

    Specifies the database name.

RETURNS:

Promise<HttpImportProgressResponse>

This method returns a promise that resolves to a HttpImportProgressResponse object.

Example​

JavaScript
const progress = await milvusClient.getImportJobProgress({
jobId: 'job-1234567890',
});