Skip to main content
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.

Use this endpoint to query the current status, metadata, and error state of a Gemini long-running operation.
  • This endpoint is typically paired with predictLongRunning
  • The key path parameter is operation_id
  • Inspect done, metadata, and error during polling
  • If your product keeps its own job state, store operation state separately from business state

Authorizations

x-goog-api-key
string
header
required

Path Parameters

operation_id
string
required

Operation ID.

Example:

"abc123"

Response

Successful operation status response

name
string
metadata
object
done
boolean
response
object
error
object