POST
/
run-workflow
/
{team_id}
/
{run_id}
from playbookNetworkClient import PlaybookClient

 def setup(self):
 self.playbookClient = PlaybookClient()
 self.playbookClient.set_api_key({your api key})

 def run_workflow(self, workflow: PlaybookWorkflow):
  result = self.playbookClient.run_workflow({workflow})
{
  "run_id": "uuid",
  "status": "queued",
  "message": "Workflow submitted to ComfyUI Server"
}

Headers

x-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your x-api-key using the 'Profile' tab on the website.

Body

application/json
id
string
required

The id of the workflow to run.

origin
string
required

2 indicates Unity SDK.

inputs
object

Optional array of inputs to override workflow defaults

Response

200
application/json
Successful Response
run_id
string
status
string
message
string