Overview
Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).
Dialogflow API is an analytics API from googleapis.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 55 endpoints.
At a glance
- Authentication
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Analytics
- Base URL
https://dialogflow.googleapis.com/- Version
- v3beta1
- Endpoints
- 55
- OpenAPI
- Specification ↗
- Spec updated
- 2023-04-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://dialogflow.googleapis.com/v3beta1/AGENT/testCases:calculateCoverage" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://dialogflow.googleapis.com/v3beta1/AGENT/testCases:calculateCoverage", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://dialogflow.googleapis.com/v3beta1/AGENT/testCases:calculateCoverage",
headers={
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /v3beta1/{agent}/testCases:calculateCoverage | Calculates the test coverage for an agent. |
| POST | /v3beta1/{baseVersion}:compareVersions | Compares the specified base version with target version. |
| POST | /v3beta1/{environment}:deployFlow | Deploys a flow to the specified Environment. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). |
| POST | /v3beta1/{environment}:runContinuousTest | Kicks off a continuous test under the specified Environment. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-runn |
| GET | /v3beta1/{name} | Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. |
| PATCH | /v3beta1/{name} | Updates the specified SecuritySettings. |
| DELETE | /v3beta1/{name} | Deletes the specified SecuritySettings. |
| GET | /v3beta1/{name}/locations | Lists information about the supported locations for this service. |
| GET | /v3beta1/{name}/operations | Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. |
| POST | /v3beta1/{name}:cancel | Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the serv |
| POST | /v3beta1/{name}:export | Exports the specified flow to a binary file. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). |
| POST | /v3beta1/{name}:load | Loads resources in the specified version to the draft flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-runni |
| GET | /v3beta1/{name}:lookupEnvironmentHistory | Looks up the history of the specified Environment. |
| POST | /v3beta1/{name}:restore | Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity type |
| POST | /v3beta1/{name}:run | Kicks off a test case run. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Oper |
| POST | /v3beta1/{name}:start | Starts the specified Experiment. This rpc only changes the state of experiment from PENDING to RUNNING. |
| POST | /v3beta1/{name}:stop | Stops the specified Experiment. This rpc only changes the state of experiment from RUNNING to DONE. |
| POST | /v3beta1/{name}:train | Trains the specified flow. Note that only the flow in 'draft' environment is trained. This method is a [long-running operation](https://cloud.google.com/dialogf |
| POST | /v3beta1/{name}:validate | Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation resu |
| GET | /v3beta1/{parent}/agents | Returns the list of all agents in the specified location. |
| POST | /v3beta1/{parent}/agents | Creates an agent in the specified location. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.goo |
| GET | /v3beta1/{parent}/changelogs | Returns the list of Changelogs. |
| GET | /v3beta1/{parent}/continuousTestResults | Fetches a list of continuous test results for a given environment. |
| GET | /v3beta1/{parent}/deployments | Returns the list of all deployments in the specified Environment. |
| GET | /v3beta1/{parent}/entityTypes | Returns the list of all session entity types in the specified session. |
| POST | /v3beta1/{parent}/entityTypes | Creates a session entity type. |
| GET | /v3beta1/{parent}/environments | Returns the list of all environments in the specified Agent. |
| POST | /v3beta1/{parent}/environments | Creates an Environment in the specified Agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation) |
| GET | /v3beta1/{parent}/experiments | Returns the list of all experiments in the specified Environment. |
| POST | /v3beta1/{parent}/experiments | Creates an Experiment in the specified Environment. |
| GET | /v3beta1/{parent}/flows | Returns the list of all flows in the specified agent. |
| POST | /v3beta1/{parent}/flows | Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.c |
| POST | /v3beta1/{parent}/flows:import | Imports the specified flow to the specified agent from a binary file. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/ |
| GET | /v3beta1/{parent}/intents | Returns the list of all intents in the specified agent. |
| POST | /v3beta1/{parent}/intents | Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.googl |
| GET | /v3beta1/{parent}/pages | Returns the list of all pages in the specified flow. |
| POST | /v3beta1/{parent}/pages | Creates a page in the specified flow. |
| GET | /v3beta1/{parent}/results | Fetches a list of results for a given test case. |
| GET | /v3beta1/{parent}/securitySettings | Returns the list of all security settings in the specified location. |
| POST | /v3beta1/{parent}/securitySettings | Create security settings in the specified location. |
| GET | /v3beta1/{parent}/testCases | Fetches a list of test cases for a given agent. |
| POST | /v3beta1/{parent}/testCases | Creates a test case for the given agent. |
| POST | /v3beta1/{parent}/testCases:batchDelete | Batch deletes test cases. |
| POST | /v3beta1/{parent}/testCases:batchRun | Kicks off a batch run of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The retu |
| POST | /v3beta1/{parent}/testCases:export | Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a [long |
| POST | /v3beta1/{parent}/testCases:import | Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in t |
| GET | /v3beta1/{parent}/transitionRouteGroups | Returns the list of all transition route groups in the specified flow. |
| POST | /v3beta1/{parent}/transitionRouteGroups | Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https: |
| GET | /v3beta1/{parent}/versions | Returns the list of all versions in the specified Flow. |
| POST | /v3beta1/{parent}/versions | Creates a Version in the specified Flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The |
| GET | /v3beta1/{parent}/webhooks | Returns the list of all webhooks in the specified agent. |
| POST | /v3beta1/{parent}/webhooks | Creates a webhook in the specified agent. |
| POST | /v3beta1/{session}:detectIntent | Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types |
| POST | /v3beta1/{session}:fulfillIntent | Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined. |
| POST | /v3beta1/{session}:matchIntent | Returns preliminary intent match results, doesn't change the session status. |
Questions
Does the Dialogflow API API need an API key?
Yes. The Dialogflow API API uses OAuth authentication; the documentation explains how to get credentials.
Does the Dialogflow API API support HTTPS?
Yes, the Dialogflow API API is served over HTTPS.
How many endpoints does the Dialogflow API API have?
Its OpenAPI description lists 55 endpoints in version v3beta1. All of them are shown on this page.
What are alternatives to the Dialogflow API API?
Other Analytics APIs include Google Play Integrity API, versionhistory.googleapis.com API, Doc Converter, Perspective Comment Analyzer API, Safe Browsing API.
Similar analytics APIs
Compare alternatives →Google Play Integrity API
AnalyticsThe Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.
versionhistory.googleapis.com API
AnalyticsVersion History API - Prod
Doc Converter
AnalyticsThis api converts file formats of OpenXml and OpenOffice documents formats to vector files (e.g., svg)
Perspective Comment Analyzer API
AnalyticsThe Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.
Safe Browsing API
AnalyticsEnables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.
Web Fonts Developer API
AnalyticsThe Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.
Listed from APIs.guru (CC0).