Skip to main content
GET
/
workflow
/
{workflowId}
Get workflow
curl --request GET \
  --url https://app2.freyavoice.ai/api/v2/workflow/{workflowId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "workflow": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "description": "<string>",
        "version": "<string>",
        "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "canvasViewport": {
          "x": 123,
          "y": 123,
          "zoom": 123
        },
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "updatedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "tags": [],
        "template": false,
        "nodePositions": {},
        "workflow": {
          "initial_node": "",
          "nodes": {}
        },
        "executionCount": 0
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflowId
string<uuid>
required

Workflow ID

Query Parameters

workspaceId
string<uuid>
required

Workspace ID

Response

Workflow details

success
enum<boolean>
required
Available options:
true,
false
data
object
required