Gemini operations.get
Retrieves the latest state of a Gemini long-running operation.
Path Parameters
- Type: stringoperation
_id requiredOperation ID.
Responses
- application/json
- application/json
Request Example for get/v1beta/operations/{operation_id}
curl https://api.apigo.ai/v1beta/operations/abc123 \
--header 'x-goog-api-key: YOUR_SECRET_TOKEN'
{
"name": "operations/abc123",
"done": true,
"response": {
"videoUri": "gs://bucket/video.mp4"
}
}