メインコンテンツまでスキップ

バッチジョブの説明 (V2)

この操作は、指定されたプロジェクト内のバッチジョブを説明します。

GET/v2/projects/{projectId}/jobs/{jobId}
接続エンドポイント

このAPIのBase URLは以下の形式です:

https://api.cloud.zilliz.com

📘ノート

コントロールプレーンのエンドポイントは現在、ユーザーごと・エンドポイントごとに毎秒最大20リクエストまでサポートしています。

shell
export BASE_URL="https://api.cloud.zilliz.com"
パラメータ
Authorizationstringheader必要

認証トークンには、適切な権限を持つ API key を使用してください。

値の例: Bearer {{TOKEN}}
projectIdstringpath必要

プロジェクト ID。

値の例: proj-xxxxxxxxxxxxxxxxxxx
jobIdstringpath必要

バッチジョブ ID。

値の例: 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"
レスポンス

バッチジョブの詳細を返します。

レスポンスボディが取り得る代替オブジェクト形状の 1 つ。レスポンスごとに 1 つの形状のみが適用されます。

codeinteger<int32>

レスポンスコード。

dataobject

Spark ジョブの公開詳細。

resultobject

完全検索の結果。正常完了後にのみ存在します。

volumeNamestring

結果 Volume の名前。作成リクエストの output.volumeName と一致します。

manifestPathstring

完成したマニフェストの Volume 相対パス。

formatstring

結果ファイルの形式。

queryCountstring

ヒットなしのクエリを含むクエリの総数(10 進文字列)。

hitCountstring

ヒットの総数(10 進文字列)。

progressobject

完了カウント。実行中は進捗が null になるため、ジョブステータスを参照してください。

phasestring

完了した実行フェーズ。

queryCountstring

クエリの総数(10 進文字列)。

completedQueriesstring

完全な top-K 結果が揃ったクエリの数(10 進文字列)。

jobIdstring

Spark ジョブの ID。

projectIdstring

Spark ジョブを所有するプロジェクトの ID。

typestring

Spark ジョブのタイプ。

descriptionstring

Spark ジョブの説明。

statusstring

Spark ジョブのステータス。

regionIdstring

Spark ジョブが実行されるリージョンの ID。

clusterIdstring

Spark ジョブに関連付けられたクラスターの ID。

artifactobject

ジョブが生成した出力アーティファクト。

volumeNamestring

アーティファクトが保存されている Volume の名前。

pathstring

Volume 内のアーティファクトのパス。

detailsobject

バックフィルジョブの詳細。

dbNamestring

データベースの名前。

collectionNamestring

Collection の名前。

inputobject

ジョブの入力または出力データへの参照。

typestring

データ参照タイプ。

volumeNamestring

Volume の名前。

pathstring

Volume 内のデータパス。

formatstring

データ形式。

fieldsarray

ターゲットフィールド。

[]fieldsstring
(近日追加予定)
columnMappingobject

ソースからターゲットへのカラムマッピング。

modestring

バックフィルモード。

resourceSizestring

リソースサイズ。

failureReasonobject

ジョブが失敗した理由。

codestring

エラーコード。

値の例: SPARK_EXECUTION_FAILED
messagestring

エラーメッセージ。

retryableboolean

ジョブが再試行可能かどうか。

precheckReportobject

バックフィルジョブのプリチェックレポート。

passedboolean

プリチェックに合格したかどうか。

dbNamestring

データベースの名前。

collectionNamestring

Collection の名前。

inputstring

入力の説明。

fieldsarray

ターゲットフィールド。

[]fieldsstring
(近日追加予定)
columnMappingobject

ソースからターゲットへのカラムマッピング。

requiredSourceColumnsarray

必須のソースカラム。

[]requiredSourceColumnsstring
(近日追加予定)
errorsarray

プリチェックエラーのリスト。

[]errorsobject

1 件のプリチェックエラー。

codestring

エラーコード。

値の例: SOURCE_COLUMN_MISSING
sourceColumnstring

ソースカラム。

値の例: source_embedding
targetFieldstring

ターゲットフィールド。

値の例: embedding
expectedTypestring

期待されるタイプ。

値の例: FloatVector
actualTypestring

実際のタイプ。

値の例: string
messagestring

エラーメッセージ。

値の例: source column is missing: source_embedding
checkedRowsinteger<int64>

チェックされた行数。

createdAtstring

Spark ジョブの作成時刻。

submittedAtstring

Spark ジョブの送信時刻。

startedAtstring

Spark ジョブの実行開始時刻。

finishedAtstring

Spark ジョブの終了時刻。

durationSecondsinteger<int64>

Spark ジョブの所要時間(秒)。

エラーメッセージを返します。

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。

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"
}
}