Dialogflow API

An end-to-end development suite for conversational interfaces (e.g., chatbots, voice-powered apps and devices).

Service: dialogflow.googleapis.com

All URIs below are relative to https://dialogflow.googleapis.com

This service provides the following discovery document:

REST Resource: v2beta1.projects

Methods
getAgent GET /v2beta1/{parent=projects/*}/agent
Retrieves the specified agent.

REST Resource: v2beta1.projects.agent

Methods
export POST /v2beta1/{parent=projects/*}/agent:export
Exports the specified agent to a ZIP file.
import POST /v2beta1/{parent=projects/*}/agent:import
Imports the specified agent from a ZIP file.
restore POST /v2beta1/{parent=projects/*}/agent:restore
Restores the specified agent from a ZIP file.
search GET /v2beta1/{parent=projects/*}/agent:search
Returns the list of agents.
train POST /v2beta1/{parent=projects/*}/agent:train
Trains the specified agent.

REST Resource: v2beta1.projects.agent.entityTypes

Methods
batchDelete POST /v2beta1/{parent=projects/*/agent}/entityTypes:batchDelete
Deletes entity types in the specified agent.
batchUpdate POST /v2beta1/{parent=projects/*/agent}/entityTypes:batchUpdate
Updates/Creates multiple entity types in the specified agent.
create POST /v2beta1/{parent=projects/*/agent}/entityTypes
Creates an entity type in the specified agent.
delete DELETE /v2beta1/{name=projects/*/agent/entityTypes/*}
Deletes the specified entity type.
get GET /v2beta1/{name=projects/*/agent/entityTypes/*}
Retrieves the specified entity type.
list GET /v2beta1/{parent=projects/*/agent}/entityTypes
Returns the list of all entity types in the specified agent.
patch PATCH /v2beta1/{entityType.name=projects/*/agent/entityTypes/*}
Updates the specified entity type.

REST Resource: v2beta1.projects.agent.entityTypes.entities

Methods
batchCreate POST /v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate
Creates multiple new entities in the specified entity type (extends the existing collection of entries).
batchDelete POST /v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete
Deletes entities in the specified entity type.
batchUpdate POST /v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate
Updates entities in the specified entity type (replaces the existing collection of entries).

REST Resource: v2beta1.projects.agent.intents

Methods
batchDelete POST /v2beta1/{parent=projects/*/agent}/intents:batchDelete
Deletes intents in the specified agent.
batchUpdate POST /v2beta1/{parent=projects/*/agent}/intents:batchUpdate
Updates/Creates multiple intents in the specified agent.
create POST /v2beta1/{parent=projects/*/agent}/intents
Creates an intent in the specified agent.
delete DELETE /v2beta1/{name=projects/*/agent/intents/*}
Deletes the specified intent.
get GET /v2beta1/{name=projects/*/agent/intents/*}
Retrieves the specified intent.
list GET /v2beta1/{parent=projects/*/agent}/intents
Returns the list of all intents in the specified agent.
patch PATCH /v2beta1/{intent.name=projects/*/agent/intents/*}
Updates the specified intent.

REST Resource: v2beta1.projects.agent.sessions

Methods
deleteContexts DELETE /v2beta1/{parent=projects/*/agent/sessions/*}/contexts
Deletes all active contexts in the specified session.
detectIntent POST /v2beta1/{session=projects/*/agent/sessions/*}:detectIntent
Processes a natural language query and returns structured, actionable data as a result.

REST Resource: v2beta1.projects.agent.sessions.contexts

Methods
create POST /v2beta1/{parent=projects/*/agent/sessions/*}/contexts
Creates a context.
delete DELETE /v2beta1/{name=projects/*/agent/sessions/*/contexts/*}
Deletes the specified context.
get GET /v2beta1/{name=projects/*/agent/sessions/*/contexts/*}
Retrieves the specified context.
list GET /v2beta1/{parent=projects/*/agent/sessions/*}/contexts
Returns the list of all contexts in the specified session.
patch PATCH /v2beta1/{context.name=projects/*/agent/sessions/*/contexts/*}
Updates the specified context.

REST Resource: v2beta1.projects.agent.sessions.entityTypes

Methods
create POST /v2beta1/{parent=projects/*/agent/sessions/*}/entityTypes
Creates a session entity type.
delete DELETE /v2beta1/{name=projects/*/agent/sessions/*/entityTypes/*}
Deletes the specified session entity type.
get GET /v2beta1/{name=projects/*/agent/sessions/*/entityTypes/*}
Retrieves the specified session entity type.
list GET /v2beta1/{parent=projects/*/agent/sessions/*}/entityTypes
Returns the list of all session entity types in the specified session.
patch PATCH /v2beta1/{sessionEntityType.name=projects/*/agent/sessions/*/entityTypes/*}
Updates the specified session entity type.

REST Resource: v2beta1.projects.operations

Methods
get GET /v2beta1/{name=projects/*/operations/*}
Gets the latest state of a long-running operation.