메인 콘텐츠로 건너뛰기
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입니다.
  • 폴링 중에 done, metadataerror 검사
  • 제품이 자체 작업 상태를 유지하는 경우 작업 상태를 비즈니스 상태와 별도로 저장하세요.

인증

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