Skip to main content

Describe Batch Job (V2)

This operation describes a batch job in a specified project.

GET/v2/projects/{projectId}/jobs/{jobId}
Connection Endpoint

The base URL for this API is in the following format:

https://api.cloud.zilliz.com

📘Notes

The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.

shell
export BASE_URL="https://api.cloud.zilliz.com"
Parameters
Authorizationstringheaderrequired

The authentication token should be an API key with appropriate privileges.

Example Value: Bearer {{TOKEN}}
projectIdstringpathrequired

The project ID.

Example Value: proj-xxxxxxxxxxxxxxxxxxx
jobIdstringpathrequired

The batch job ID.

Example Value: job-xxxxxxxxxxxxxxxxxx
bash
export TOKEN="YOUR_API_KEY"
export projectId="proj-xxxxxxxxxxxxxxxxxxx"
export jobId="job-xxxxxxxxxxxxxxxxxx"

curl --request GET \
--url "${BASE_URL}/v2/projects/${projectId}/jobs/${jobId}" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
Responses

Returns details of the batch job.

One of the alternative object shapes the response body may take; a single shape applies per response.

codeinteger<int32>

Response code.

dataobject

Public details of a Spark job.

resultobject

Exact-search result, present only after successful completion.

volumeNamestring

Result Volume name, matching output.volumeName in the creation request.

manifestPathstring

Volume-relative path of the completed manifest.

formatstring

Result file format.

queryCountstring

Total queries as a decimal string, including queries with no hits.

hitCountstring

Total hits as a decimal string.

progressobject

Completion counts. While running, progress is null; use the job status.

phasestring

Completed execution phase.

queryCountstring

Total queries as a decimal string.

completedQueriesstring

Queries with completed top-K results as a decimal string.

jobIdstring

ID of the Spark job.

projectIdstring

ID of the project that owns the Spark job.

typestring

Type of the Spark job.

descriptionstring

Description of the Spark job.

statusstring

Status of the Spark job.

regionIdstring

ID of the region where the Spark job runs.

clusterIdstring

ID of the cluster associated with the Spark job.

artifactobject

The output artifact produced by the job.

volumeNamestring

The volume name the artifact is stored in.

pathstring

The path of the artifact within the volume.

detailsobject

Details of a backfill job.

dbNamestring

The database name.

collectionNamestring

The collection name.

inputobject

A reference to job input or output data.

typestring

The data reference type.

volumeNamestring

The volume name.

pathstring

The data path within the volume.

formatstring

The data format.

fieldsarray

The target fields.

[]fieldsstring
(To be added soon)
columnMappingobject

Source-to-target column mapping.

modestring

The backfill mode.

resourceSizestring

The resource size.

failureReasonobject

The reason a job failed.

codestring

The error code.

Example Value: SPARK_EXECUTION_FAILED
messagestring

The error message.

retryableboolean

Whether the job can be retried.

precheckReportobject

The precheck report for a backfill job.

passedboolean

Whether the precheck passed.

dbNamestring

The database name.

collectionNamestring

The collection name.

inputstring

The input description.

fieldsarray

The target fields.

[]fieldsstring
(To be added soon)
columnMappingobject

Source-to-target column mapping.

requiredSourceColumnsarray

The required source columns.

[]requiredSourceColumnsstring
(To be added soon)
errorsarray

The precheck errors.

[]errorsobject

A single precheck error.

codestring

The error code.

Example Value: SOURCE_COLUMN_MISSING
sourceColumnstring

The source column.

Example Value: source_embedding
targetFieldstring

The target field.

Example Value: embedding
expectedTypestring

The expected type.

Example Value: FloatVector
actualTypestring

The actual type.

Example Value: string
messagestring

The error message.

Example Value: source column is missing: source_embedding
checkedRowsinteger<int64>

The number of checked rows.

createdAtstring

Time when the Spark job was created.

submittedAtstring

Time when the Spark job was submitted.

startedAtstring

Time when the Spark job started running.

finishedAtstring

Time when the Spark job finished.

durationSecondsinteger<int64>

Duration of the Spark job in seconds.

Returns an error message.

codeinteger

Response code.

messagestring

Error message.

Successjson
{
"code": 0,
"data": {
"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,
"artifact": {
"volumeName": "stg-xxxxxxxxxxxxxxxxxxx",
"path": "/jars/example-job.jar",
"artifactUri": "volume://my-volume/jars/example-job.jar"
},
"submittedAt": "2026-05-20T10:00:30Z",
"projectId": "proj-xxxxxxxxxxxxxxxxxxxx"
}
}