List Spark Jobs (V2)
This operation lists Spark batch jobs associated with a Zilliz Cloud cluster.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
Use application/json.
The job type to list. Set this parameter to SPARK.
The Zilliz Cloud cluster whose Spark jobs you want to list.
The cloud region of the Zilliz Cloud cluster. If specified, it must match the region of clusterId.
The page number. The default value is 1.
The number of Spark jobs per page. The default value is 20 and the maximum value is 100.
export TOKEN="YOUR_API_KEY"
curl --request GET \
--url "${BASE_URL}/v2/jobs?type=SPARK&clusterId=in01-xxxxxxxxxxxxxxx" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Accept: application/json" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
Returns a list of Spark jobs.
Response code.
Response payload that contains Spark jobs and the total count.
Total number of Spark jobs.
Spark job summaries.
Summary information about a Spark batch job.
The job ID.
The project ID the job belongs to.
The job type.
The job description.
The job status.
The cloud region ID.
The cluster ID.
Creation time (ISO 8601).
Start time (ISO 8601).
Finish time (ISO 8601).
The duration in seconds.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"total": 1,
"items": [
{
"jobId": "job-xxxxxxxxxxxxxxxxxx",
"type": "SPARK",
"description": "daily-vector-etl",
"status": "RUNNING",
"regionId": "aws-us-west-2",
"clusterId": "in01-xxxxxxxxxxxxxxx",
"createdAt": "2026-05-20T10:00:00Z",
"startedAt": "2026-05-20T10:01:00Z",
"finishedAt": null,
"durationSeconds": 300,
"projectId": "proj-xxxxxxxxxxxxxxxxxxxx"
}
]
}
}