Get Import Job Progress
Retrieves the progress of a specified import job.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
Use application/json
.
The ID of the import job in concern
The ID of a cluster to which this operation applies.
export TOKEN="YOUR_API_KEY"
curl --request POST \
--url "${BASE_URL}/v2/vectordb/jobs/import/getProgress" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
-d '{
"clusterId": "inxx-xxxxxxxxxxxxxxx",
"jobId": "job-xxxxxxxxxxxxxxxxxxxxx"
}'
Response code.
Response payload.
ID of an import job.
Target collection name of the import job.
Path of the data file object in the object storage.
Size of the data file object.
State of this import job.
Progress in percentage of the current import job.
Timestamp indicating when the import job is complete.
Reason for the failure to import data. The value will be an empty string when the import job is successful.
Number of rows in the specified collection.
Statistics on data import oriented to data files.
Detailed information about the processing of a source data file.
The name of a data file.
The size of the data file.
The processing state of the data file.
The progress in percentage.
The timestamp at which the file is processed.
The reason for the failure to import data. The value will be an empty string when the data file is successfully processed.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"jobId": "job-xxxxxxxxxxxxxxxxxxxxx",
"collectionName": "medium_articles",
"fileName": "medium_articles_2020_dpr.json",
"fileSize": 3279917,
"state": "Completed",
"progress": 100,
"completeTime": "2024-04-01T06:17:55Z",
"reason": "",
"totalRows": 100000,
"details": [
{
"fileName": "medium_articles_2020_dpr.json",
"fileSize": 3279917,
"state": "Completed",
"progress": 100,
"completeTime": "2024-04-01T06:17:53Z",
"reason": ""
}
]
}
}