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

# Get Workflow

> Fetch the configuration and current state of a single workflow, including status, lead counts, and structural totals.

<Warning>
  **Legacy endpoint - deprecated.** Unversioned endpoints are scheduled for removal on **July 31, 2026**. Use the [`/v1` version](/docs/api-reference/v1/workflows/get) for new integrations. This endpoint remains available for existing integrations until then.
</Warning>

Returns the complete record for a single workflow: the display `name`, `description`, current `status` (such as `active`, `paused`, or `cancelled`), the totals of nodes and edges in the graph, the enrolled-lead count, and creation/update timestamps. This endpoint does not return the nodes or edges themselves, fetch those separately through [List Nodes](/docs/api-reference/workflow-nodes/list) and [List Edges](/docs/api-reference/workflow-edges/list) when you need the full graph structure.

## When to use this

* **Workflow dashboards**: render the workflow's header summary (name, status, lead count) before lazy-loading the graph.
* **Pre-update checks**: confirm the workflow status is `paused` or `inactive` before applying structural edits.
* **Reporting**: pull live counts of enrolled leads alongside historical call logs from [List Call Logs](/docs/api-reference/call-logs/list).

To enumerate every workflow on the workspace, use [List Workflows](/docs/api-reference/v1/workflows/list).

## Path parameters

| Parameter | Description                                      |
| --------- | ------------------------------------------------ |
| `id`      | The workflow ID, for example `wfl_m3v7zb9rk2px`. |

## Errors

* `404 Not Found` is returned when the workflow does not exist or has been deleted.
* `403 Forbidden` is returned when the API key cannot read workflows on this workspace.

## Related endpoints

* [List Nodes](/docs/api-reference/workflow-nodes/list): retrieve the workflow's node set.
* [List Edges](/docs/api-reference/workflow-edges/list): retrieve the transitions between nodes.
* [Pause Workflow](/docs/api-reference/workflows/pause) and [Resume Workflow](/docs/api-reference/workflows/resume): control the running state.
* [List Workflow Leads](/docs/api-reference/v1/workflow-leads/list): see which leads are enrolled.


## OpenAPI

````yaml GET /workflows/{id}
openapi: 3.0.0
info:
  title: DialNexa API
  description: >-
    Public REST API for the DialNexa voice AI platform. Versioned endpoints are
    under /v1; unversioned endpoints are legacy and deprecated.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: API Keys
  - name: Agent Functions
  - name: Agents V1
  - name: Agents2
  - name: Batch Calls
  - name: Batch Calls V1
  - name: Call Logs
  - name: Calls
  - name: Calls V1
  - name: Campaign Leads
  - name: Campaigns
  - name: External Webhooks
  - name: Knowledge Base
  - name: Knowledge Base V1
  - name: LLMs
  - name: LLMs V1
  - name: Languages
  - name: Languages V1
  - name: Organization Phone Numbers
  - name: Organization Phone Numbers V1
  - name: Phone Number Pricing
  - name: Phone Number Pricing V1
  - name: Transcribers
  - name: Transcribers V1
  - name: User Webhooks
  - name: User Webhooks V1
  - name: V1
  - name: Voices
  - name: Voices V1
  - name: Webcall
  - name: Workflow Leads
  - name: Workflow Leads V1
  - name: Workflows
  - name: Workflows V1
paths:
  /workflows/{id}:
    get:
      tags:
        - Workflows
      summary: Get a single workflow by ID
      description: >-
        **Legacy endpoint - deprecated, scheduled for removal on July 31,
        2026.** Use the `/v1` version for new integrations. 
      operationId: WorkflowsController_findOne
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
        - name: x-organization-id
          in: header
          description: RSA encrypted organization ID (base64 format)
          required: true
          schema:
            type: string
            example: BASE64_ENCRYPTED_ORG_ID_HERE
      responses:
        '200':
          description: Workflow fetched successfully
        '404':
          description: Workflow not found
        '500':
          description: Internal Server Error
      deprecated: true
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````