Gemini File Search Stores icon

Gemini File Search Stores

Manage File Search stores for Gemini RAG operations

Get Operation Status

AI-generated

Summary

Fetch the status of a long‑running operation identified by operationName.

Inputs

  • operationName (required) — The resource name of the operation

Output shape

a single JSON object describing the operation's status

Usually includes fields like state and progress; returns HTTP 200 on success and throws on error.

Examples

Example 1: Polling the status of operation fileSearchStores/my-store-123/operations/op-456

Set operationName to the full operation path and execute the node.

Example 2: Checking if a file search store operation has completed successfully

Provide the operationName of the completed operation; the node returns its status.

Discussion