List Import Jobs
This operation lists all import jobs of a specific cluster.
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
.
ID of a specific cluster on Zilliz Cloud.
Number of records to return at each request.
Current page number.
Name of the database to which the import job belongs.
export TOKEN="YOUR_API_KEY"
curl --request POST \
--url "${BASE_URL}/v2/vectordb/jobs/import/list" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
-d '{
"clusterId": "inxx-xxxxxxxxxxxxxxx"
}'
Response code.
Response payload, which is a list of import jobs in detail.
Total number of records listed in this response.
Current page number for your reference.
Maximum number of records to be included in each return.
List of import jobs in detail.
An import job in detail.
Name of the target collection of this import job.
ID of this import job.
State of this import job.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"count": 1,
"currentPage": 1,
"pageSize": 10,
"records": [
{
"collectionName": "test_collection",
"jobId": "job-xxxxxxxxxxxxxxxxxxxxx",
"state": "Completed"
}
]
}
}
{
"code": 21119,
"message": "The apikey is illegal."
}