by Oras · 1y ago · 0 comments
One of the features that I like about Dify is when I create a workflow, I can call it via API, see logs, and debug each node. Is there a way to export workflows from NodeTool to an API?
const response = await fetch("http://localhost:8000/api/jobs/run", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
workflow_id: workflowId,
params: params,
}),
});
const outputs = await response.json();
See here for more details: https://github.com/nodetool-ai/nodetoolWe'll be launching a cloud version soon that let's you deploy your workflow in the cloud with easy API access.