Google Dialogflow Projects API

The Projects API from Google Dialogflow — 9 operation(s) for projects.

Operations 14

GET /v2/projects/{project}/agent Get agent #
POST /v2/projects/{project}:setAgent Set agent #
DELETE /v2/projects/{project}:deleteAgent Delete agent #
GET /v2/projects/{project}/agent/intents List intents #
POST /v2/projects/{project}/agent/intents Create intent #
GET /v2/projects/{project}/agent/intents/{intent} Get intent #
PATCH /v2/projects/{project}/agent/intents/{intent} Update intent #
DELETE /v2/projects/{project}/agent/intents/{intent} Delete intent #
POST /v2/projects/{project}/agent/sessions/{session}:detectIntent Detect intent #
DELETE /v2/projects/{project}/agent/sessions/{session}/contexts Delete all contexts #
GET /v2/projects/{project}/agent/entityTypes List entity types #
POST /v2/projects/{project}/agent/entityTypes Create entity type #
GET /v2/projects/{project}/knowledgeBases List knowledge bases #
POST /v2/projects/{project}/knowledgeBases Create knowledge base #

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-projects-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-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dialogflow ES Projects API
  description: 'Dialogflow ES (Essentials) provides a natural language understanding

    platform to design and integrate conversational user interfaces. The REST

    API manages agents, intents, entity types, sessions, contexts, and

    knowledge bases.

    '
  version: v2
servers:
- url: https://dialogflow.googleapis.com
security:
- OAuth2:
  - cloud-platform
- OAuth2:
  - dialogflow
tags:
- name: Projects
paths:
  /v2/projects/{project}/agent:
    get:
      summary: Get agent
      operationId: getAgent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Agent configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
      tags:
      - Projects
  /v2/projects/{project}:setAgent:
    post:
      summary: Set agent
      operationId: setAgent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: updateMask
        in: query
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agent'
      responses:
        '200':
          description: Updated agent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
      tags:
      - Projects
  /v2/projects/{project}:deleteAgent:
    delete:
      summary: Delete agent
      operationId: deleteAgent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Empty
      tags:
      - Projects
  /v2/projects/{project}/agent/intents:
    get:
      summary: List intents
      operationId: listIntents
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: languageCode
        in: query
        schema:
          type: string
      - name: intentView
        in: query
        schema:
          type: string
      - name: pageSize
        in: query
        schema:
          type: integer
      - name: pageToken
        in: query
        schema:
          type: string
      responses:
        '200':
          description: List of intents
          content:
            application/json:
              schema:
                type: object
                properties:
                  intents:
                    type: array
                    items:
                      $ref: '#/components/schemas/Intent'
                  nextPageToken:
                    type: string
      tags:
      - Projects
    post:
      summary: Create intent
      operationId: createIntent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: languageCode
        in: query
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Intent'
      responses:
        '200':
          description: Created intent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Intent'
      tags:
      - Projects
  /v2/projects/{project}/agent/intents/{intent}:
    get:
      summary: Get intent
      operationId: getIntent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: intent
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Intent details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Intent'
      tags:
      - Projects
    patch:
      summary: Update intent
      operationId: updateIntent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: intent
        in: path
        required: true
        schema:
          type: string
      - name: updateMask
        in: query
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Intent'
      responses:
        '200':
          description: Updated intent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Intent'
      tags:
      - Projects
    delete:
      summary: Delete intent
      operationId: deleteIntent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: intent
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Empty
      tags:
      - Projects
  /v2/projects/{project}/agent/sessions/{session}:detectIntent:
    post:
      summary: Detect intent
      operationId: detectIntent
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: session
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                queryInput:
                  type: object
                queryParams:
                  type: object
                outputAudioConfig:
                  type: object
                inputAudio:
                  type: string
                  format: byte
      responses:
        '200':
          description: Detect intent response
          content:
            application/json:
              schema:
                type: object
                properties:
                  responseId:
                    type: string
                  queryResult:
                    type: object
                  outputAudio:
                    type: string
                    format: byte
      tags:
      - Projects
  /v2/projects/{project}/agent/sessions/{session}/contexts:
    delete:
      summary: Delete all contexts
      operationId: deleteAllContexts
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: session
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Empty
      tags:
      - Projects
  /v2/projects/{project}/agent/entityTypes:
    get:
      summary: List entity types
      operationId: listEntityTypes
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      - name: pageSize
        in: query
        schema:
          type: integer
      - name: pageToken
        in: query
        schema:
          type: string
      responses:
        '200':
          description: List of entity types
          content:
            application/json:
              schema:
                type: object
                properties:
                  entityTypes:
                    type: array
                    items:
                      $ref: '#/components/schemas/EntityType'
      tags:
      - Projects
    post:
      summary: Create entity type
      operationId: createEntityType
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityType'
      responses:
        '200':
          description: Created entity type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityType'
      tags:
      - Projects
  /v2/projects/{project}/knowledgeBases:
    get:
      summary: List knowledge bases
      operationId: listKnowledgeBases
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of knowledge bases
          content:
            application/json:
              schema:
                type: object
      tags:
      - Projects
    post:
      summary: Create knowledge base
      operationId: createKnowledgeBase
      parameters:
      - name: project
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Created knowledge base
          content:
            application/json:
              schema:
                type: object
      tags:
      - Projects
components:
  schemas:
    Agent:
      type: object
      properties:
        parent:
          type: string
        displayName:
          type: string
        defaultLanguageCode:
          type: string
        supportedLanguageCodes:
          type: array
          items:
            type: string
        timeZone:
          type: string
        description:
          type: string
        avatarUri:
          type: string
        enableLogging:
          type: boolean
        matchMode:
          type: string
        classificationThreshold:
          type: number
          format: float
        apiVersion:
          type: string
        tier:
          type: string
    Intent:
      type: object
      properties:
        name:
          type: string
        displayName:
          type: string
        webhookState:
          type: string
        priority:
          type: integer
        isFallback:
          type: boolean
        mlDisabled:
          type: boolean
        inputContextNames:
          type: array
          items:
            type: string
        events:
          type: array
          items:
            type: string
        trainingPhrases:
          type: array
          items:
            type: object
        action:
          type: string
        outputContexts:
          type: array
          items:
            type: object
        resetContexts:
          type: boolean
        parameters:
          type: array
          items:
            type: object
        messages:
          type: array
          items:
            type: object
    EntityType:
      type: object
      properties:
        name:
          type: string
        displayName:
          type: string
        kind:
          type: string
        autoExpansionMode:
          type: string
        entities:
          type: array
          items:
            type: object
            properties:
              value:
                type: string
              synonyms:
                type: array
                items:
                  type: string
        enableFuzzyExtraction:
          type: boolean
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            cloud-platform: View and manage your data across Google Cloud Platform services
            dialogflow: View, manage and query your Dialogflow agents