Skip to main content
POST
Run a workflow version (legacy path)

Authorizations

X-Auth-Token
string
header
required

Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.

Path Parameters

workflowId
string
required
versionId
string
required

Body

application/json

The workflow's input fields, named as the workflow's entry node names them

Response

The workflow finished; result holds its output fields

status
enum<string>
required

Execution state the run finished in

Available options:
idle,
waiting,
running,
success,
error,
skipped
result
object | null

The workflow's output fields, named as the workflow names them