5 ms·
It's possible to call the API locally: const response = await fetch("http://localhost:8000/api/jobs/run", { method: "POST", headers: { "Content
by mmgeorgi 2y ago
It's possible to call the API locally:
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/nodetool https://github.com/nodetool-ai/nodetool
We'll be launching a cloud version soon that let's you deploy your workflow in the cloud with easy API access.