List Import Jobs
List all import jobs specific to a cluster.
The base URL for this API is in the following format:
https://controller.api.${CLOUD_REGION}.zillizcloud.com
- You need to replace
${CLOUD_REGION}
with the appropriate region for your deployment. - To get the cloud region ID, refer to On Zilliz Cloud Console or List Cloud Regions.
export CLOUD_REGION="gcp-us-west1"
export BASE_URL="https://controller.api.${CLOUD_REGION}.zillizcloud.com"
The authentication token should be an API key with appropriate privileges or a pair of colon-joined username and password, like username:password
.
The ID of a specific cluster on Zilliz Cloud.
The number of records to return at each request.
The current page number.
export TOKEN="YOUR_API_KEY"
curl --request GET \
--url "${BASE_URL}/v1/vector/collections/import/list?clusterId=inxx-xxxxxxxxxxxxxxx" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json"
Response code.
Response payload which is a list containing import jobs in detail.
Total number of records listed in this response.
The current page number for your reference.
The maximum number of records to be included in each return.
A list of import jobs in detail.
A import job in detail.
The target collection name of a import task.
The ID of an import task.
The corresponding status of the import task. Possible values are ImportRunning, ImportCompleted and ImportFailed.
Returns an error message.
Response code.
Error message.
{
"code": 200,
"data": {
"tasks": [
{
"collectionName": "medium_articles",
"jobId": "job-xxxxxxxxxxxxxxxxxxxxxx",
"state": "ImportRunning"
},
{
"collectionName": "medium_articles",
"jobId": "2b93fef7-xxxx-xxxx-xxxx-f82afd598ff1",
"state": "ImportCompleted"
}
],
"count": 2,
"currentPage": 1,
"pageSize": 10
}
}