Data 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 documents:

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

Regional service endpoint

A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.


  • https://geminidataanalytics.googleapis.com
  • REST Resource: v1beta.projects.locations

    Methods
    chat POST /v1beta/{parent=projects/*/locations/*}:chat
    Answers a data question by generating a stream of Message objects.
    get GET /v1beta/{name=projects/*/locations/*}
    Gets information about a location.
    list GET /v1beta/{name=projects/*}/locations
    Lists information about the supported locations for this service.

    REST Resource: v1beta.projects.locations.conversations

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

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

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

    REST Resource: v1beta.projects.locations.dataAgents

    Methods
    create POST /v1beta/{parent=projects/*/locations/*}/dataAgents
    Creates a new DataAgent in a given project and location.
    delete DELETE /v1beta/{name=projects/*/locations/*/dataAgents/*}
    Deletes a single DataAgent.
    get GET /v1beta/{name=projects/*/locations/*/dataAgents/*}
    Gets details of a single DataAgent.
    getIamPolicy POST /v1beta/{resource=projects/*/locations/*/dataAgents/*}:getIamPolicy
    Gets the IAM policy for DataAgent
    list GET /v1beta/{parent=projects/*/locations/*}/dataAgents
    Lists DataAgents in a given project and location.
    listAccessible GET /v1beta/{parent=projects/*/locations/*}/dataAgents:listAccessible
    Lists DataAgents that are accessible to the caller in a given project and location.
    patch PATCH /v1beta/{dataAgent.name=projects/*/locations/*/dataAgents/*}
    Updates the parameters of a single DataAgent.
    setIamPolicy POST /v1beta/{resource=projects/*/locations/*/dataAgents/*}:setIamPolicy
    Sets the IAM policy for a DataAgent.

    REST Resource: v1beta.projects.locations.operations

    Methods
    cancel POST /v1beta/{name=projects/*/locations/*/operations/*}:cancel
    Starts asynchronous cancellation on a long-running operation.
    delete DELETE /v1beta/{name=projects/*/locations/*/operations/*}
    Deletes a long-running operation.
    get GET /v1beta/{name=projects/*/locations/*/operations/*}
    Gets the latest state of a long-running operation.
    list GET /v1beta/{name=projects/*/locations/*}/operations
    Lists operations that match the specified filter in the request.

    REST Resource: v1alpha.projects.locations

    Methods
    chat POST /v1alpha/{parent=projects/*/locations/*}:chat
    Answers a data question by generating a stream of Message objects.
    get GET /v1alpha/{name=projects/*/locations/*}
    Gets information about a location.
    list GET /v1alpha/{name=projects/*}/locations
    Lists information about the supported locations for this service.

    REST Resource: v1alpha.projects.locations.conversations

    Methods
    create POST /v1alpha/{parent=projects/*/locations/*}/conversations
    Creates a new conversation to persist the conversation history.
    delete DELETE /v1alpha/{name=projects/*/locations/*/conversations/*}
    Deletes a conversation.
    get GET /v1alpha/{name=projects/*/locations/*/conversations/*}
    Gets details of a single conversation by 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.
    getIamPolicy POST /v1alpha/{resource=projects/*/locations/*/dataAgents/*}:getIamPolicy
    Gets the IAM policy for DataAgent
    list GET /v1alpha/{parent=projects/*/locations/*}/dataAgents
    Lists DataAgents in a given project and location.
    listAccessible GET /v1alpha/{parent=projects/*/locations/*}/dataAgents:listAccessible
    Lists DataAgents that are accessible to the caller in a given project and location.
    patch PATCH /v1alpha/{dataAgent.name=projects/*/locations/*/dataAgents/*}
    Updates the parameters of a single DataAgent.
    setIamPolicy POST /v1alpha/{resource=projects/*/locations/*/dataAgents/*}:setIamPolicy
    Sets the IAM policy for a DataAgent.

    REST Resource: v1alpha.projects.locations.operations

    Methods
    cancel POST /v1alpha/{name=projects/*/locations/*/operations/*}:cancel
    Starts asynchronous cancellation on a long-running operation.
    delete DELETE /v1alpha/{name=projects/*/locations/*/operations/*}
    Deletes a long-running operation.
    get GET /v1alpha/{name=projects/*/locations/*/operations/*}
    Gets the latest state of a long-running operation.
    list GET /v1alpha/{name=projects/*/locations/*}/operations
    Lists operations that match the specified filter in the request.