Dialogflow API

Builds conversational interfaces (for example, chatbots, and 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: v2.projects

Methods
agent POST /v2/{agent.parent=projects/*}/agent
Creates/updates the specified agent.
deleteAgent DELETE /v2/{parent=projects/*}/agent
Deletes the specified agent.
getAgent GET /v2/{parent=projects/*}/agent
Retrieves the specified agent.

REST Resource: v2.projects.agent

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

REST Resource: v2.projects.agent.entityTypes

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

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

Methods
batchCreate POST /v2/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate
Creates multiple new entities in the specified entity type.
batchDelete POST /v2/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete
Deletes entities in the specified entity type.
batchUpdate POST /v2/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate
Updates or creates multiple entities in the specified entity type.

REST Resource: v2.projects.agent.intents

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

REST Resource: v2.projects.agent.sessions

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

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

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

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

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

REST Resource: v2.projects.operations

Methods
get GET /v2/{name=projects/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v2/{name=projects/*}/operations
Lists operations that match the specified filter in the request.
¿Te ha resultado útil esta página? Enviar comentarios:

Enviar comentarios sobre...

Si necesitas ayuda, visita nuestra página de asistencia.