workflow/api
Runtime functions for starting workflows, inspecting runs, resuming hooks, and accessing world data.
API reference for runtime functions from the workflow/api and workflow/runtime entrypoints.
Functions
Most functions in this section are imported from workflow/api. getWorld() is imported from workflow/runtime.
start()
Start/enqueue a new workflow run.
resumeHook()
Resume a hook created with createHook() by sending an arbitrary payload.
resumeWebhook()
Resume a webhook created with createWebhook() by forwarding an HTTP Request.
getHookByToken()
Retrieve hook details, metadata, and run information by token.
getRun()
Get workflow run status and metadata without waiting for completion.
getWorld()
Get direct access to workflow storage, queuing, and streaming backends from workflow/runtime.