メインコンテンツへスキップ
GET
/
v1beta
/
operations
/
{operation_id}
Gemini operations.get
curl --request GET \
  --url https://maas.apigo.ai/v1beta/operations/{operation_id} \
  --header 'x-goog-api-key: <api-key>'
{
  "name": "operations/abc123",
  "done": true,
  "response": {
    "videoUri": "gs://bucket/video.mp4"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.apigo.ai/llms.txt

Use this file to discover all available pages before exploring further.

このエンドポイントを使用して、Gemini の長時間実行操作の現在のステータス、メタデータ、およびエラー状態をクエリします。
  • このエンドポイントは通常、predictLongRunning とペアになります。
  • 主要なパス パラメータは operation_id です。
  • ポーリング中に donemetadata、および error を検査する
  • 製品が独自のジョブ状態を保持する場合は、動作状態をビジネス状態とは別に保存します

承認

x-goog-api-key
string
header
必須

パスパラメータ

operation_id
string
必須

Operation ID.

:

"abc123"

レスポンス

Successful operation status response

name
string
metadata
object
done
boolean
response
object
error
object