Actions API

A RESTful service for the Actions API.


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:


REST Resource: v2

decryptSecret POST /v2:decryptSecret
Decrypts the OAuth client secret used in account linking flows.
encryptSecret POST /v2:encryptSecret
Encrypts the OAuth client secret used in account linking flows.
setWebAndAppActivityControl POST /v2:setWebAndAppActivityControl
Sets the Web & App Activity control on a service account.

REST Resource: v2.projects

matchIntents POST /v2/{project=projects/*}:matchIntents
Finds the intents that match a given query.
sendInteraction POST /v2/{project=projects/*}:sendInteraction
Plays one round of the conversation.

REST Resource: v2.projects.draft

read POST /v2/{name=projects/*/draft}:read
Reads the entire content of the project draft.
write POST /v2/{parent=projects/*}/draft:write
Updates the project draft based on the model.

REST Resource: v2.projects.preview

write POST /v2/{parent=projects/*}/preview:write
Updates the user's project preview based on the model.

REST Resource: v2.projects.releaseChannels

list GET /v2/{parent=projects/*}/releaseChannels
Lists all release channels and corresponding versions, if any.

REST Resource: v2.projects.versions

create POST /v2/{parent=projects/*}/versions:create
Creates a project version based on the model and triggers deployment to the specified release channel, if specified.
list GET /v2/{parent=projects/*}/versions
Lists all versions and their current states.
read POST /v2/{name=projects/*/versions/*}:read
Reads the entire content of a project version.

REST Resource: v2.sampleProjects

list GET /v2/sampleProjects
Lists all the sample projects supported by the gactions CLI.