Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

We'll be launching a cloud version soon that let's you deploy your workflow in the cloud with easy API access.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: