---
title: "Get a workflow flowchart"
method: GET
path: "/workflow-flowcharts/{workflow_flowchart_id}"
tags: ["workflowFlowcharts"]
---

# Get a workflow flowchart

`GET /workflow-flowcharts/{workflow_flowchart_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/workflow-flowcharts/{workflow_flowchart_id}`
- Auth: HTTP bearer

Get a workflow flowchart

## Path parameters

- `workflow_flowchart_id` string, required

## Response `200`

OK

- WorkflowFlowchart
  - `createdAt` string: The ISO formatted date and time that the flowchart was created
  - `edgeConfigs` WorkflowFlowchartEdgeConfig[]: The edges of the flowchart
    - `fromNodeConfigId` string: The ID of the source workflow flowchart node config of this edge
    - `id` string: The ID of the workflow flowchart edge config
    - `toNodeConfigId` string: The ID of the destination workflow flowchart node config of this edge
  - `id` string: The ID of the flowchart
  - `migratedFromFlowchartId` string, nullable: The ID of the flowchart that this was migrated from
  - `migratedToFlowchartId` string, nullable: The ID of the flowchart that this was migrated to
  - `modifiedAt` string: The ISO formatted date and time that the flowchart was last modified
  - `nodeConfigs` WorkflowFlowchartNodeConfig[]: The nodes of the flowchart
    - `id` string: The ID of the workflow flowchart node config
    - `nodeDetails` union
      - object: END variant
        - `nodeType` 'END', required: Discriminator value: END
        - `id` string: The ID of the workflow flowchart end node config details
        - `name` string: The name of the end node
      - object: OUTPUT variant
        - `nodeType` 'OUTPUT', required: The type of the node
        - `id` string: The ID of the workflow output node config details
        - `outputSchema` SchemaSummary
          - `id` string
          - `name` string
      - object: ROOT variant
        - `nodeType` 'ROOT', required: The type of the node
        - `id` string: The ID of the workflow root node config details
        - `rootTaskSchema` WorkflowTaskSchemaSummary
          - `id` string: The ID of the workflow task schema
          - `name` string: The name of the workflow task schema
      - object: ROUTER variant
        - `nodeType` 'ROUTER', required: The type of the node
        - `id` string: The ID of the workflow router node config details
        - `name` string: The name of the router node
        - `routerFunctions` WorkflowRouterFunction[]: Router functions associated with this router node
          - `edgeConfigId` string: The ID of the workflow flowchart edge config associated with this function
          - `id` string: The function associated with a router node
          - `isDefault` unknown
          - `name` string: The name of a function associated with a router node
      - object: TASK variant
        - `nodeType` 'TASK', required: The type of the node
        - `id` string: The ID of the workflow task node config details
        - `taskSchema` WorkflowTaskSchemaSummary
          - `id` string: The ID of the workflow task schema
          - `name` string: The name of the workflow task schema
    - `nodeType` 'ROOT' | 'OUTPUT' | 'TASK' | 'ROUTER' | 'END': The type associated with the node config

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
