Articles in this section

Available Google Gemini APIs

When you configure an export, import, other type of flow step using the prebuilt Google Gemini connector, you can select any of the API operations listed below, organized by API type.

Note

If your API endpoint isn’t listed here, switch the flow step to HTTP mode and configure the endpoint provided in the Google Gemini API documentation. You can also create a composite endpoint for this application in HTTP mode.

Resource

API endpoint

Export

Import

Batches

List batches

X

Get a specific batch

X

Cancel a batch

X

Delete a batch

X

Cached contents

List cached contents

X

Get a specific cached content

X

Create cached content

X

Update cached content

X

Delete cached content

X

Corpora

Query a corpus

X

Lists all corpora owned by the user

X

Get a specific corpus

X

Create an empty corpus

X

Update a corpus

X

Delete a corpus

X

Corpora documents

Query a document

X

Lists all documents in a corpus

X

Get a specific document

X

Create an empty document

X

Update a document

X

Delete a document

X

Corpora documents chunks

Lists all chunks in a document

X

Get a specific chunk

X

Create a chunk

X

Batch create chunks

X

Update a chunk

X

Delete a chunk

X

Batch update chunks

X

Batch delete chunks

X

Files

List files

X

Get a specific file

X

Upload a file (media)

X

Create a file (metadata only)

X

Delete a file

X

Models

List models

X

Get a specific model

X

Generate content

X

Generates a streamed response from the model given

X

Generates a text embedding vector

X

Generates multiple embedding vectors

X

Returns the token count

X

Generate a grounded answer from the model given

X

Enqueues a batch of generate content requests for batch processing

X

Performs a prediction request

X

Performs a prediction long running operation

X