Ziwako Docs
Ziwako AI (Mayele)Référence APIWorkflowTemplates

Get WorkflowTemplate

GET
/workflow-templates/{id}

Accepts an id (or a slug on the public API).

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X GET "https://example.com/workflow-templates/string"
{  "status": 0,  "message": "string",  "data": {    "slug": "string",    "name": "string",    "description": "",    "trigger": {      "type": "manual",      "config": {}    },    "nodes": [      {}    ],    "edges": [      {}    ],    "dependencies": [      {        "key": "string",        "type": "agent_template",        "label": "string",        "description": "",        "defaultConfig": {},        "required": true,        "agentTemplateId": null      }    ],    "nodeDependencyMap": [      {        "nodeId": "string",        "dependencyKey": "string"      }    ],    "category": "",    "tags": [      "string"    ],    "featured": false,    "useCount": 0,    "author": "Ziwako",    "isPublic": false,    "publishedAt": null,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "id": "string"  },  "type": "string",  "code": "string"}