Conversational Analytics API with Gemini

Service: geminidataanalytics.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://geminidataanalytics.googleapis.com

REST Resource: v1alpha.projects.locations

Methods
chat POST /v1alpha/{parent=projects/*/locations/*}:chat
Answers a data question by generating a stream of Message objects.

REST Resource: v1alpha.projects.locations.conversations

Methods
create POST /v1alpha/{parent=projects/*/locations/*}/conversations
Creates a new conversation to persist the conversation history.
get GET /v1alpha/{name=projects/*/locations/*/conversations/*}
Gets details of a single conversation using conversation id and parent.
list GET /v1alpha/{parent=projects/*/locations/*}/conversations
Lists all conversations for a given parent.

REST Resource: v1alpha.projects.locations.conversations.messages

Methods
list GET /v1alpha/{parent=projects/*/locations/*/conversations/*}/messages
Lists all messages for a given conversation.

REST Resource: v1alpha.projects.locations.dataAgents

Methods
create POST /v1alpha/{parent=projects/*/locations/*}/dataAgents
Creates a new DataAgent in a given project and location.
delete DELETE /v1alpha/{name=projects/*/locations/*/dataAgents/*}
Deletes a single DataAgent.
get GET /v1alpha/{name=projects/*/locations/*/dataAgents/*}
Gets details of a single DataAgent.
list GET /v1alpha/{parent=projects/*/locations/*}/dataAgents
Lists DataAgents in a given project and location.
patch PATCH /v1alpha/{dataAgent.name=projects/*/locations/*/dataAgents/*}
Updates the parameters of a single DataAgent.