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
}
}
}
}Returns detailed workflow information including nodes and canvas state.
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
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workflow ID
Workspace ID