v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Flows

Get the Chart of specified Flow

Gets the Chart of the specified Flow.

get/v2.0/flows/{flowId}/chart

Path parameters

flowIdstring required

The unique identifier for the Flow.

Query parameters

preferredLocaleIdstring

The unique identifier for the Locale for the response.

Headers

Accept'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Response

Returns Chart of the Flow

Example response

{
  "nodes": [
    {
      "type": "if",
      "extension": "@cognigy/basic-nodes",
      "label": "A new Node",
      "analyticsLabel": "Step name",
      "comment": "this is a very important node",
      "commentColor": "#ff8a80"
    }
  ]
}