Comment

Comment by mmgeorgi

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.

parent mmgeorgi 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton