Google Dialogflow Sessions API

The sessions API from Google Dialogflow — 17 operation(s) for sessions.

Operations 17

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent Send a user turn to a CX agent session · Dialogflow projects locations agents sessions detect intent #
Ask an LLM
“How do I send what a user typed to my Dialogflow CX agent and get the bot's reply back?”
“Can a CX detect-intent call also return synthesized audio of the agent's response?”
Tell an agent
Send query input {query_input} to CX agent {agent} session {session} in project {project}, location {location} and return the reply.
Detect the intent for {query_input} in CX session {session} of agent {agent} ({project}/{location}) with audio output {audio_config}.
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:serverStreamingDetectIntent Stream a CX agent's reply to a user turn · Dialogflow projects locations agents sessions server streaming detect intent #
Ask an LLM
“Can I get a Dialogflow CX agent's response streamed back in pieces instead of one final reply?”
“Is there a server-streaming version of detect intent for CX draft agent sessions?”
Tell an agent
Stream the CX agent {agent} response to {query_input} for session {session} in project {project}, location {location}.
Run server-streaming detect intent on CX session {session}, agent {agent} ({project}/{location}) with response view {view}.
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent Preview which intent a CX agent would match · Dialogflow projects locations agents sessions match intent #
Ask an LLM
“Which intent would my Dialogflow CX agent match for an utterance, without running fulfillment?”
“Can I get candidate intent matches for a CX session before deciding which one to fulfill?”
Tell an agent
Match intents for {query_input} in CX session {session} of agent {agent}, project {project}, location {location}.
Show the candidate intent matches CX agent {agent} finds for {query_input} in session {session} ({project}/{location}).
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent Fulfill a chosen intent match in a CX session · Dialogflow projects locations agents sessions fulfill intent #
Ask an LLM
“After matching intents in a CX session, how do I run fulfillment for the match I picked?”
“Can I fulfill a previously matched CX intent and get audio of the response?”
Tell an agent
Fulfill match {match} in CX session {session} of agent {agent}, project {project}, location {location}.
Execute fulfillment for the selected match {match} from request {match_request} on CX agent {agent} session {session} ({project}/{location}).
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:submitAnswerFeedback Rate an answer a CX agent gave · Dialogflow projects locations agents sessions submit answer feedback #
Ask an LLM
“Can I record whether a user found a Dialogflow CX agent's answer helpful?”
“Can I attach thumbs-up or thumbs-down feedback to a specific CX response ID?”
Tell an agent
Submit answer feedback {feedback} for response {response_id} in CX session {session}, agent {agent}, project {project}, location {location}.
Mark CX agent {agent}'s answer {response_id} in session {session} ({project}/{location}) with feedback {feedback}.
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:serverStreamingDetectIntent Stream a reply from a CX environment session · Dialogflow projects locations agents environments sessions server streaming… #
Ask an LLM
“Can I stream partial responses from a CX agent deployed to my production environment?”
“Is server-streaming detect intent available against a specific Dialogflow CX environment?”
Tell an agent
Stream CX environment {environment}'s response to {query_input} for session {session}, agent {agent}, project {project}, location {location}.
Run streaming detect intent in environment {environment} session {session} of CX agent {agent} ({project}/{location}) with query params {params}.
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent Send a user turn to a CX environment session · Dialogflow projects locations agents environments sessions detect intent #
Ask an LLM
“How do I talk to the version of my CX agent deployed in a specific environment like production?”
“Can I send a user utterance to a CX environment and get back the agent's full reply?”
Tell an agent
Send {query_input} to session {session} in CX environment {environment} of agent {agent}, project {project}, location {location}.
Detect intent in environment {environment} for session {session}, CX agent {agent} ({project}/{location}), returning audio as {audio_config}.
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent Fulfill an intent match in a CX environment session · Dialogflow projects locations agents environments sessions fulfill intent #
Ask an LLM
“Can I run fulfillment for a matched intent in a session on a deployed CX environment?”
“Can I complete a two-step match-then-fulfill flow against my CX staging environment?”
Tell an agent
Fulfill match {match} for session {session} in CX environment {environment}, agent {agent}, project {project}, location {location}.
In environment {environment}, execute the selected match {match} on CX agent {agent} session {session} ({project}/{location}).
POST /v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent Preview intent matches in a CX environment session · Dialogflow projects locations agents environments sessions match intent #
Ask an LLM
“Which intent would my deployed CX environment match for a phrase, without fulfilling it?”
“Can I test intent matching against a specific Dialogflow CX environment rather than the draft?”
Tell an agent
Match intents for {query_input} in CX environment {environment} session {session}, agent {agent}, project {project}, location {location}.
List the intent candidates environment {environment} of CX agent {agent} returns for {query_input} in session {session} ({project}/{location}).
DELETE /v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts Clear all contexts in a regional ES session · Dialogflow projects locations agent sessions delete contexts #
Ask an LLM
“Is there a way to reset every active context in a Dialogflow ES conversation hosted in a specific region?”
“Can I wipe the context state of one regional ES session in a single call?”
Tell an agent destructive · confirm first
Delete all contexts in ES session {session} for project {project}, region {location}.
Reset the conversation state of regional ES session {session} under {project}/{location}.
POST /v2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}:detectIntent Send a user turn to a regional ES agent · Dialogflow projects locations agent sessions detect intent #
Ask an LLM
“How do I send text or audio to a Dialogflow ES agent hosted in a specific region and get the matched intent?”
“Can a regional ES detect-intent call take raw input audio?”
Tell an agent
Detect intent for {query_input} in ES session {session}, project {project}, region {location}.
Send audio {audio} to regional ES session {session} in {project}/{location} and return the response.
POST /v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntent Send a user turn to a regional ES environment · Dialogflow projects locations agent environments users sessions detect intent #
Ask an LLM
“How do I query a published Dialogflow ES environment in a specific region for one end user?”
“Can I send audio for a user's session to a regional ES environment and get spoken output back?”
Tell an agent
Detect intent for {query_input} for user {user} session {session} in ES environment {environment}, project {project}, region {location}.
Send audio {audio} from user {user} to regional environment {environment} session {session} ({project}/{location}).
DELETE /v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts Clear contexts for a regional ES user session · Dialogflow projects locations agent environments users sessions delete contexts #
Ask an LLM
“How do I reset all contexts for one user's session in a regional Dialogflow ES environment?”
“Can I clear the conversation state of an end user in a published regional ES environment?”
Tell an agent destructive · confirm first
Delete all contexts for user {user} session {session} in ES environment {environment}, project {project}, region {location}.
Reset regional environment {environment} state for user {user}'s session {session} in {project}/{location}.
DELETE /v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts Clear contexts for a global ES user session · Dialogflow projects agent environments users sessions delete contexts #
Ask an LLM
“Can I wipe all active contexts for one user in a published Dialogflow ES environment?”
“Can I reset a user's session state in my global ES production environment?”
Tell an agent destructive · confirm first
Delete all contexts for user {user} session {session} in ES environment {environment} of project {project}.
Reset environment {environment} state for user {user}'s session {session} in project {project}, no region.
POST /v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntent Send a user turn to a global ES environment · Dialogflow projects agent environments users sessions detect intent #
Ask an LLM
“How do I send a user's message to a published Dialogflow ES environment without picking a region?”
“Can I get the matched intent and audio reply for one end user's session in my ES production environment?”
Tell an agent
Detect intent for {query_input} for user {user} session {session} in ES environment {environment} of project {project}.
Send audio {audio} from user {user} to environment {environment} session {session} in project {project} at the global location.
POST /v2/projects/{projectsId}/agent/sessions/{sessionsId}:detectIntent Send a user turn to the global ES agent · Dialogflow projects agent sessions detect intent #
Ask an LLM
“How do I send a message to my project's Dialogflow ES agent and get the matched intent and reply?”
“What does the basic ES detect intent call return when I send text to the default agent?”
Tell an agent
Detect intent for {query_input} in ES session {session} of project {project}.
Send audio {audio} to the default ES agent session {session} in project {project} and return the fulfillment text.
DELETE /v2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts Clear all contexts in a global ES session · Dialogflow projects agent sessions delete contexts #
Ask an LLM
“Is it possible to clear every active context in a conversation with my project's default ES agent?”
“Can I start a global Dialogflow ES session over by dropping its contexts?”
Tell an agent destructive · confirm first
Delete all contexts in ES session {session} of project {project}.
Wipe the default agent's context state for session {session} in project {project}.

Documentation

Specifications

Other Resources

🔗
Discovery
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/discovery/google-dialogflow-v3.json
🔗
Discovery
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/discovery/google-dialogflow-v3beta1.json
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/cx-v3/session.proto
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/cx-v3/agent.proto
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/cx-v3/webhook.proto
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/cx-v3/tool.proto
🔗
Pricing
https://cloud.google.com/dialogflow/pricing
🔗
Console
https://dialogflow.cloud.google.com/cx
🔗
Webhooks
https://cloud.google.com/dialogflow/cx/docs/concept/webhook
🔗
Discovery
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/discovery/google-dialogflow-v2.json
🔗
Discovery
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/discovery/google-dialogflow-v2beta1.json
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/v2/session.proto
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/v2/agent.proto
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/v2/intent.proto
🔗
Protobuf
https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/grpc/v2/webhook.proto
🔗
Console
https://dialogflow.cloud.google.com/
🔗
Webhooks
https://cloud.google.com/dialogflow/es/docs/fulfillment-webhook

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-dialogflow:google-dialogflow-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-dialogflow-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Dialogflow Sessions API
  contact:
    name: Google Cloud
    url: https://cloud.google.com/dialogflow/
  license:
    name: Google APIs Terms of Service
    url: https://developers.google.com/terms
  termsOfService: https://cloud.google.com/terms
  x-refined-note:
  - x-discovery-id differs across the merged source definitions and was not carried
  - x-discovery-source differs across the merged source definitions and was not carried
  x-discovery-revision: '20260825'
  version: '1.0'
  description: 'Operations tagged sessions across 2 of this provider''s published API definitions: google-dialogflow-cx-v3-openapi.yml, google-dialogflow-es-v2-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dialogflow.googleapis.com
  description: Dialogflow API
tags:


# --- truncated at 32 KB (107 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/google-dialogflow/refs/heads/main/openapi/google-dialogflow-sessions-api-openapi.yml