> ## Documentation Index
> Fetch the complete documentation index at: https://www.voiceflow.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get initialization workflow

> Returns the agent's initialization workflow, the workflow set in Behaviour settings that runs at launch, before the user says anything. The name is null when the ID points at a workflow that no longer exists.



## OpenAPI

````yaml /specs-prettified/realtime/openapi.stable.json get /v1/stable/agent/initialization-workflow
openapi: 3.0.0
info:
  title: Realtime
  description: Realtime gateway API service
  version: 1.0.0
  contact: {}
servers:
  - url: https://realtime-api.voiceflow.com
security: []
tags: []
paths:
  /v1/stable/agent/initialization-workflow:
    get:
      tags:
        - Agent
      summary: Get initialization workflow
      description: Returns the agent's initialization workflow, the workflow set in
        Behaviour settings that runs at launch, before the user says anything.
        The name is null when the ID points at a workflow that no longer exists.
      operationId: StableAgentController_getInitializationWorkflow
      parameters:
        - name: projectID
          required: true
          in: query
          schema:
            type: string
            description: The ID of the project to operate on.
        - name: environmentAlias
          required: true
          in: query
          schema:
            type: string
            description: The alias of the environment to operate on (e.g. `main`).
      responses:
        "200":
          description: Returns the ID and name of the initialization workflow, both null
            when none is set or when the project has no initialization workflow
            setting.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StableAgentInitializationWorkflowResponse"
          x-vf-doc:
            description: Returns the ID and name of the initialization workflow, both null
              when none is set or when the project has no initialization
              workflow setting.
      security:
        - token: []
components:
  schemas:
    StableAgentInitializationWorkflowResponse:
      type: object
      properties:
        workflowID:
          nullable: true
          description: The workflow that runs before the user's first turn, or null when
            none is set or this project has no initialization workflow setting.
          type: string
        name:
          nullable: true
          description: That workflow's name. Null when none is set, or when the stored ID
            names a workflow that no longer exists.
          type: string
      required:
        - workflowID
        - name
  securitySchemes:
    token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Voiceflow bearer token
````
