workflow/api
Runtime functions to inspect runs, start workflows, and manage hooks.
The workflow/api package provides runtime functions to inspect runs, start new runs, and manage hooks.
Functions
start()
Start/enqueue a new workflow run.
resumeHook()
Resume a workflow by sending a payload to a hook.
resumeWebhook()
Resume a workflow by sending a Request to a webhook.
getHookByToken()
Get hook details and metadata by its token.
getRun()
Get workflow run status and metadata without waiting for completion.
Looking for getWorld() and the World SDK? They are exported from workflow/runtime. See the workflow/runtime reference.